aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/system.phtml
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/system.phtml
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/system.phtml')
-rw-r--r--app/views/configure/system.phtml4
1 files changed, 2 insertions, 2 deletions
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>