aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/feed
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/helpers/feed
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/helpers/feed')
-rw-r--r--app/views/helpers/feed/update.phtml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml
index 0a3852e22..0cc98e2bc 100644
--- a/app/views/helpers/feed/update.phtml
+++ b/app/views/helpers/feed/update.phtml
@@ -254,7 +254,7 @@
<label class="group-name" for="http_user_feed<?= $this->feed->id() ?>"><?= _t('sub.feed.auth.username') ?></label>
<div class="group-controls">
<input type="text" name="http_user_feed<?= $this->feed->id() ?>" id="http_user_feed<?= $this->feed->id() ?>" class="extend" value="<?= empty($auth['username']) ? ' ' : $auth['username'] ?>" autocomplete="off" />
- <?= _i('help') ?> <?= _t('sub.feed.auth.help') ?>
+ <p class="help"><?= _i('help') ?> <?= _t('sub.feed.auth.help') ?></p>
</div>
<label class="group-name" for="http_pass_feed<?= $this->feed->id() ?>"><?= _t('sub.feed.auth.password') ?></label>
@@ -278,7 +278,7 @@
<input type="text" name="path_entries" id="path_entries" class="extend" value="<?= $this->feed->pathEntries() ?>" placeholder="<?= _t('gen.short.blank_to_disable') ?>" />
<a id="popup-preview-selector" class="btn" href="<?= _url('feed', 'contentSelectorPreview', 'id', $this->feed->id(), 'selector', 'selector-token') ?>"><?= _i('look') ?></a>
</div>
- <?= _i('help') ?> <?= _t('sub.feed.css_help') ?>
+ <p class="help"><?= _i('help') ?> <?= _t('sub.feed.css_help') ?></p>
</div>
</div>
@@ -347,7 +347,7 @@
echo htmlspecialchars($filterRead->getRawInput(), ENT_NOQUOTES, 'UTF-8'), PHP_EOL;
}
?></textarea>
- <?= _i('help') ?> <?= _t('sub.feed.filteractions.help') ?>
+ <p class="help"><?= _i('help') ?> <?= _t('sub.feed.filteractions.help') ?></p>
</div>
</div>
@@ -364,13 +364,13 @@
<a class="btn btn-important" href="<?= _url('feed', 'clearCache', 'id', $this->feed->id()) ?>">
<?= _t('sub.feed.maintenance.clear_cache') ?>
</a>
- <?= _i('help') ?> <?= _t('sub.feed.maintenance.clear_cache_help') ?>
+ <p class="help"><?= _i('help') ?> <?= _t('sub.feed.maintenance.clear_cache_help') ?></p>
</div>
<div class="group-controls">
<a class="btn btn-important" href="<?= _url('feed', 'reload', 'id', $this->feed->id()) ?>">
<?= _t('sub.feed.maintenance.reload_articles') ?>
</a>
- <?= _i('help') ?> <?= _t('sub.feed.maintenance.reload_articles_help') ?>
+ <p class="help"><?= _i('help') ?> <?= _t('sub.feed.maintenance.reload_articles_help') ?></p>
</div>
</div>
</form>