A free, self-hostable news aggregator…
Add tooltips on entries (#3115)
Alexis Degrugillierf5676273fca1
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtmlindex 1c1a1c8f1..88fa578de 100644--- a/app/views/helpers/index/normal/entry_bottom.phtml+++ b/app/views/helpers/index/normal/entry_bottom.phtml@@ -19,7 +19,7 @@if ($this->entry->isRead()) {$arUrl['params']['is_read'] = 0;}- ?><a class="read" href="<?= Minz_Url::display($arUrl) ?>"><?php+ ?><a class="read" href="<?= Minz_Url::display($arUrl) ?>" title="<?= _t('conf.shortcut.mark_read') ?>"><?phpecho _i($this->entry->isRead() ? 'read' : 'unread'); ?></a><?php?></li><?php}@@ -29,7 +29,7 @@if ($this->entry->isFavorite()) {$arUrl['params']['is_favorite'] = 0;}- ?><a class="bookmark" href="<?= Minz_Url::display($arUrl) ?>"><?php+ ?><a class="bookmark" href="<?= Minz_Url::display($arUrl) ?>" title="<?= _t('conf.shortcut.mark_favorite') ?>"><?phpecho _i($this->entry->isFavorite() ? 'starred' : 'non-starred'); ?></a><?php?></li><?php}@@ -110,6 +110,6 @@?><li class="item date"><time datetime="<?= $this->entry->machineReadableDate() ?>"><?= $this->entry->date() ?></time> </li><?php}if ($bottomline_link) {- ?><li class="item link"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= _i('link') ?></a></li><?php+ ?><li class="item link"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>" title="<?= _t('conf.shortcut.see_on_website') ?>"><?= _i('link') ?></a></li><?php} ?></ul>diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtmlindex df4abd7e5..863062dd3 100644--- a/app/views/helpers/index/normal/entry_header.phtml+++ b/app/views/helpers/index/normal/entry_header.phtml@@ -12,7 +12,7 @@if ($this->entry->isRead()) {$arUrl['params']['is_read'] = 0;}- ?><a class="read" href="<?= Minz_Url::display($arUrl) ?>"><?php+ ?><a class="read" href="<?= Minz_Url::display($arUrl) ?>" title="<?= _t('conf.shortcut.mark_read') ?>"><?phpecho _i($this->entry->isRead() ? 'read' : 'unread'); ?></a><?php?></li><?php}@@ -22,12 +22,12 @@if ($this->entry->isFavorite()) {$arUrl['params']['is_favorite'] = 0;}- ?><a class="bookmark" href="<?= Minz_Url::display($arUrl) ?>"><?php+ ?><a class="bookmark" href="<?= Minz_Url::display($arUrl) ?>" title="<?= _t('conf.shortcut.mark_favorite') ?>"><?phpecho _i($this->entry->isFavorite() ? 'starred' : 'non-starred'); ?></a><?php?></li><?php}}- ?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>">+ ?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>" title="<?= _t('gen.action.filter') ?>"><?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" loading="lazy" /><?php endif; ?><span><?= $this->feed->name() ?></span></a></li><li class="item title" dir="auto"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?><?php@@ -45,5 +45,5 @@endif;?></a></li><?php if ($topline_date) { ?><li class="item date"><time datetime="<?= $this->entry->machineReadableDate() ?>"><?= $this->entry->date() ?></time> </li><?php } ?>- <?php if ($topline_link) { ?><li class="item link"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= _i('link') ?></a></li><?php } ?>+ <?php if ($topline_link) { ?><li class="item link"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>" title="<?= _t('conf.shortcut.see_on_website') ?>"><?= _i('link') ?></a></li><?php } ?></ul>