aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-12-05 21:42:06 +0100
committerGravatar GitHub <noreply@github.com> 2021-12-05 21:42:06 +0100
commit754a7b27b605aec221b23a57afe1896b707a29d2 (patch)
treeb73265f8a4fde697b550d28be1af07e613206de3 /app/views
parent5050b20ccaff8af68cad9ce27d3e47ad45b686df (diff)
Fix reader view header (#4015)
* fix the hyperlink underline * add mouse title * improve German mouse titles * fixed whitespaces * use the same title in config/display like in normal/reader view * i18n German: Discard change for this String * delete unused gen.action.mark_favorite
Diffstat (limited to 'app/views')
-rw-r--r--app/views/configure/display.phtml4
-rw-r--r--app/views/index/reader.phtml18
2 files changed, 9 insertions, 13 deletions
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml
index 96f93a27f..dfb377893 100644
--- a/app/views/configure/display.phtml
+++ b/app/views/configure/display.phtml
@@ -122,8 +122,8 @@
<thead>
<tr>
<th> </th>
- <th title="<?= _t('gen.action.mark_read') ?>"><?= _i('read') ?></th>
- <th title="<?= _t('gen.action.mark_favorite') ?>"><?= _i('bookmark') ?></th>
+ <th title="<?= _t('conf.shortcut.mark_read') ?>"><?= _i('read') ?></th>
+ <th title="<?= _t('conf.shortcut.mark_favorite') ?>"><?= _i('bookmark') ?></th>
<th><?= _t('conf.display.icon.related_tags') ?></th>
<th><?= _t('conf.display.icon.sharing') ?></th>
<th><?= _t('conf.display.icon.summary') ?></th>
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml
index f58839d8f..0e9fb4b3e 100644
--- a/app/views/index/reader.phtml
+++ b/app/views/index/reader.phtml
@@ -38,18 +38,14 @@ $content_width = FreshRSS_Context::$user_conf->content_width;
}
?>
<?php if (FreshRSS_Auth::hasAccess()) { ?>
- <a class="read" href="<?= Minz_Url::display($readUrl) ?>">
- <?= _i($item->isRead() ? 'read' : 'unread') ?>
- </a>
- <a class="bookmark" href="<?= Minz_Url::display($favoriteUrl) ?>">
- <?= _i($item->isFavorite() ? 'starred' : 'non-starred') ?>
- </a>
+ <a class="read" href="<?= Minz_Url::display($readUrl) ?>" title="<?= _t('conf.shortcut.mark_read') ?>"><?= _i($item->isRead() ? 'read' : 'unread') ?></a>
+ <a class="bookmark" href="<?= Minz_Url::display($favoriteUrl) ?>" title="<?= _t('conf.shortcut.mark_favorite') ?>"><?= _i($item->isFavorite() ? 'starred' : 'non-starred') ?></a>
<?php } ?>
- <a class="website" href="<?= _url('index', 'reader', 'get', 'f_' . $feed->id()) ?>">
- <?php if (FreshRSS_Context::$user_conf->show_favicons): ?>
- <img class="favicon" src="<?= $feed->favicon() ?>" alt="✇" loading="lazy" />
- <?php endif; ?>
- <span><?= $feed->name() ?></span>
+ <a class="website" href="<?= _url('index', 'reader', 'get', 'f_' . $feed->id()) ?>" title="<?= _t('gen.action.filter') ?>"><?php
+ if (FreshRSS_Context::$user_conf->show_favicons):
+ ?><img class="favicon" src="<?= $feed->favicon() ?>" alt="✇" loading="lazy" /><?php
+ endif;
+ ?><span><?= $feed->name() ?></span>
</a>
<h1 class="title"><a target="_blank" rel="noreferrer" class="go_website" href="<?= $item->link() ?>"><?= $item->title() ?></a></h1>