aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure
diff options
context:
space:
mode:
authorGravatar Julien-Pierre Avérous <github@sourcemac.com> 2020-04-20 23:27:17 +0200
committerGravatar GitHub <noreply@github.com> 2020-04-20 23:27:17 +0200
commitacca89505be6ec062ba1acd9cc7df49aac1711fe (patch)
tree092daf0e3577aae7f7d80fb7a5267d55599b9dd8 /app/views/configure
parentbd9a72726dbaf26854994e9726091477548a991f (diff)
Enhance the way help elements are displayed (#2911)
* - Always display help under the targeted element. - Use same help place for HTTP authentication in 'add' feed view than in 'update' feed view. - Move help under input field in register view, as all other places (homogeneity). * - Don't use "!important" as suggested by @Alkarex.
Diffstat (limited to 'app/views/configure')
-rw-r--r--app/views/configure/archiving.phtml4
-rw-r--r--app/views/configure/reading.phtml2
-rw-r--r--app/views/configure/system.phtml4
3 files changed, 5 insertions, 5 deletions
diff --git a/app/views/configure/archiving.phtml b/app/views/configure/archiving.phtml
index 7d76e4dcc..9c183f81f 100644
--- a/app/views/configure/archiving.phtml
+++ b/app/views/configure/archiving.phtml
@@ -6,7 +6,7 @@
<form method="post" action="<?= _url('configure', 'archiving') ?>">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<legend><?= _t('conf.archiving') ?></legend>
- <p><?= _i('help') ?> <?= _t('conf.archiving.help') ?></p>
+ <p class="help"><?= _i('help') ?> <?= _t('conf.archiving.help') ?></p>
<div class="form-group">
<label class="group-name" for="ttl_default"><?= _t('conf.archiving.ttl') ?></label>
@@ -132,7 +132,7 @@
<div class="group-controls">
<input type="hidden" name="optimiseDatabase" value="1" />
<button type="submit" class="btn btn-important"><?= _t('conf.archiving.optimize') ?></button>
- <?= _i('help') ?> <?= _t('conf.archiving.optimize_help') ?>
+ <p class="help"><?= _i('help') ?> <?= _t('conf.archiving.optimize_help') ?></p>
</div>
</div>
</form>
diff --git a/app/views/configure/reading.phtml b/app/views/configure/reading.phtml
index cb74440a5..3cd0a718e 100644
--- a/app/views/configure/reading.phtml
+++ b/app/views/configure/reading.phtml
@@ -11,7 +11,7 @@
<label class="group-name" for="posts_per_page"><?= _t('conf.reading.articles_per_page') ?></label>
<div class="group-controls">
<input type="number" id="posts_per_page" name="posts_per_page" value="<?= FreshRSS_Context::$user_conf->posts_per_page ?>" min="5" max="500" data-leave-validation="<?= FreshRSS_Context::$user_conf->posts_per_page ?>"/>
- <?= _i('help') ?> <?= _t('conf.reading.number_divided_when_reader') ?>
+ <p class="help"><?= _i('help') ?> <?= _t('conf.reading.number_divided_when_reader') ?></p>
</div>
</div>
diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml
index 1a718e20f..75117ee1c 100644
--- a/app/views/configure/system.phtml
+++ b/app/views/configure/system.phtml
@@ -25,7 +25,7 @@
<label class="group-name" for="max-registrations"><?= _t('admin.system.registration.number') ?></label>
<div class="group-controls">
<input type="number" id="max-registrations" name="max-registrations" value="<?= FreshRSS_Context::$system_conf->limits['max_registrations'] ?>" min="0" data-leave-validation="<?= FreshRSS_Context::$system_conf->limits['max_registrations'] ?>"/>
- <?= _i('help') ?> <?= _t('admin.system.registration.help') ?>
+ <p class="help"><?= _i('help') ?> <?= _t('admin.system.registration.help') ?></p>
</div>
</div>
@@ -74,7 +74,7 @@
<label class="group-name" for="cookie-duration"><?= _t('admin.system.cookie-duration.number') ?></label>
<div class="group-controls">
<input type="number" id="cookie-duration" name="cookie-duration" value="<?= FreshRSS_Context::$system_conf->limits['cookie_duration'] ?>" min="0" data-leave-validation="<?= FreshRSS_Context::$system_conf->limits['cookie_duration'] ?>"/>
- <?= _i('help') ?> <?= _t('admin.system.cookie-duration.help') ?>
+ <p class="help"><?= _i('help') ?> <?= _t('admin.system.cookie-duration.help') ?></p>
</div>
</div>