summaryrefslogtreecommitdiff
path: root/app/views/helpers
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-08-31 22:27:20 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-08-31 22:27:20 +0200
commita9765af95cf512b76775750ca7e3e2163ca7b3f8 (patch)
treecc2c3282c3303940b738c8a8bb4ad7b938e389c5 /app/views/helpers
parent31a6a13268023a2db5eba2445ee6c7db4a6d9623 (diff)
Allow native control-click of article titles
Provide better access to the link of the article, and allow control-click on the title to e.g. open in a background tab, without having to reach the little link icon on the far right.
Diffstat (limited to 'app/views/helpers')
-rw-r--r--app/views/helpers/view/normal_view.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml
index fb4e60cf6..cca8e3a88 100644
--- a/app/views/helpers/view/normal_view.phtml
+++ b/app/views/helpers/view/normal_view.phtml
@@ -44,7 +44,7 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) {
<?php } ?>
<?php $feed = $item->feed (true); ?>
<li class="item website"><a href="<?php echo _url ('index', 'index', 'get', 'f_' . $feed->id ()); ?>"><img class="favicon" src="<?php echo $feed->favicon (); ?>" alt="" /> <span><?php echo $feed->name (); ?></span></a></li>
- <li class="item title"><?php echo $item->title (); ?></li>
+ <li class="item title"><a target="_blank" href="<?php echo $item->link (); ?>"><?php echo $item->title (); ?></a></li>
<li class="item date"><?php echo $item->date (); ?></li>
<li class="item link"><a target="_blank" href="<?php echo $item->link (); ?>">&nbsp;</a></li>
</ul>