From 16984f1bd9355052d9ae7c8927e196c1ac421697 Mon Sep 17 00:00:00 2001 From: Wolfgang Date: Mon, 30 Sep 2024 12:55:20 +0000 Subject: [PATCH] fix: set correct classes for settings and setting hints --- CHANGELOG.md | 1 + src/components/AdminSettings.vue | 131 ++++++++++++++----------------- 2 files changed, 59 insertions(+), 73 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4aaf4e9c..de691d7fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ You can also check [on GitHub](https://github.com/nextcloud/news/releases), the ### Fixed - Allow feed title to be null in DB. (#2745) - Store HTTP last modified date from response header (#2724) +- Admin settings could not be saved (#2533) # Releases ## [25.0.0-alpha8] - 2024-07-07 diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue index 60209af20..a6f5cc409 100644 --- a/src/components/AdminSettings.vue +++ b/src/components/AdminSettings.vue @@ -16,91 +16,76 @@ SPDX-Licence-Identifier: AGPL-3.0-or-later {{ t('news', 'Last job ran {relativeTime}.', {relativeTime}) }} - - {{ t("news", "Use system cron for updates") }} - -

- {{ - t("news", "Disable this if you use a custom updater.") - }} +

+ + {{ t("news", "Use system cron for updates") }} + +
+

+ {{ t("news", "Disable this if you use a custom updater.") }}

- -

- {{ - t( - "news", - "Defines the maximum amount of articles that can be read per feed which will not be deleted by the cleanup job; if old articles reappear after being read, increase this value; negative values such as -1 will turn this feature off." - ) - }} +

+ +
+

+ {{ t( "news", "Defines the maximum amount of articles that can be read per feed which will not be deleted by the cleanup job; if old articles reappear after being read, increase this value; negative values such as -1 will turn this feature off.") }}

- - {{ t("news", "Delete unread articles automatically") }} - -

- {{ - t( - "news", - "Enable this if you also want to delete unread articles." - ) - }} +

+ + {{ t("news", "Delete unread articles automatically") }} + +
+

+ {{ t( "news", "Enable this if you also want to delete unread articles.") }}

- -

- {{ - t("news", "How many redirects the feed fetcher should follow.") - }} +

+ +
+

+ {{ t("news", "How many redirects the feed fetcher should follow.") }}

- -

- {{ - t( - "news", - "Maximum number of seconds to wait for an RSS or Atom feed to load; if it takes longer the update will be aborted." - ) - }} +

+ +
+

+ {{ t("news", "Maximum number of seconds to wait for an RSS or Atom feed to load; if it takes longer the update will be aborted.") }}

- -

- {{ - t( - "news", - "If given, this service's URL will be queried for displaying the feeds in the explore feed section. To fall back to the built in explore service, leave this input empty." - ) - }} +

+ +
+

+ {{ t("news", "If given, this service's URL will be queried for displaying the feeds in the explore feed section. To fall back to the built in explore service, leave this input empty.") }}

- -

- {{ - t( - "news", - "Interval in seconds in which the feeds will be updated." - ) - }} +

+ +
+

+ {{ t("news", "Interval in seconds in which the feeds will be updated.") }}