summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-06-03 12:02:27 +0200
committerGravatar GitHub <noreply@github.com> 2017-06-03 12:02:27 +0200
commit8a04454655112d1c355d143166a56202c84c0a35 (patch)
treefc0e34972b768dcc4ba27307aa01b819588bdcb2 /app
parent167f2fb5c7a0a5ee1451b3ba62f3ab11747fd007 (diff)
parent5f942cc1c9801eef440cd1e85e36b03c05aaa8c5 (diff)
Merge pull request #1564 from aledeg/open-site-shortcut
Add support for a new shortcut in reader view
Diffstat (limited to 'app')
-rw-r--r--app/views/index/normal.phtml2
-rw-r--r--app/views/index/reader.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml
index 6fda11ed9..ba48b2501 100644
--- a/app/views/index/normal.phtml
+++ b/app/views/index/normal.phtml
@@ -66,7 +66,7 @@ if (!empty($this->entries)) {
?><div class="flux_content">
<div class="content <?php echo $content_width; ?>">
- <h1 class="title"><a target="_blank" rel="noreferrer" href="<?php echo $this->entry->link(); ?>"><?php echo $this->entry->title(); ?></a></h1>
+ <h1 class="title"><a target="_blank" rel="noreferrer" class="go_website" href="<?php echo $this->entry->link(); ?>"><?php echo $this->entry->title(); ?></a></h1>
<?php
$author = $this->entry->author();
echo $author != '' ? '<div class="author">' . _t('gen.short.by_author', $author) . '</div>' : '',
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml
index a19ee322e..f2af75af0 100644
--- a/app/views/index/reader.phtml
+++ b/app/views/index/reader.phtml
@@ -19,7 +19,7 @@ if (!empty($this->entries)) {
$feed = FreshRSS_CategoryDAO::findFeed($this->categories, $item->feed()); //We most likely already have the feed object in cache
if (empty($feed)) $feed = $item->feed(true);
?>
- <a href="<?php echo $item->link(); ?>">
+ <a target="_blank" rel="noreferrer" class="go_website" href="<?php echo $item->link(); ?>">
<img class="favicon" src="<?php echo $feed->favicon(); ?>" alt="✇" /> <span><?php echo $feed->name(); ?></span>
</a>
<h1 class="title"><?php echo $item->title(); ?></h1>