summaryrefslogtreecommitdiffstats
path: root/templates/part.content.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.content.php')
-rw-r--r--templates/part.content.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index ddf878364..bdac758bb 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -18,6 +18,14 @@
<div class="utils" ng-click="Content.toggleItem(item)">
<ul>
<li class="util-spacer"></li>
+ <li class="util only-in-compact">
+ <a class="external icon-link"
+ target="_blank"
+ ng-href="{{ item.url }}"
+ title="<?php p($l->t('Open website')) ?>"
+ news-stop-propagation>
+ </a>
+ </li>
<li class="title only-in-compact"
title="{{ item.title }}"
ng-class="{'icon-rss': !Content.getFeed(item.feedId).faviconLink }"
@@ -29,21 +37,13 @@
datetime="{{ item.pubDate*1000|date:'yyyy-MM-ddTHH:mm:ssZ' }}">{{ Content.getRelativeDate(item.pubDate) }}
</time>
</li>
- <li ng-click="Content.toggleStar(item.id)" class="util" news-stop-propagation>
- <button class="star svg" ng-hide="item.starred" title="<?php p($l->t('Star article')); ?>"></button>
- <button class="starred svg" ng-show="item.starred" title="<?php p($l->t('Unstar article')); ?>"></button>
- </li>
<li ng-click="Content.toggleKeepUnread(item.id)" class="util" news-stop-propagation>
<button class="icon-toggle toggle-keep-unread" ng-hide="item.keepUnread" title="<?php p($l->t('Keep article unread')); ?>"></button>
<button class="icon-toggle toggle-keep-unread keep-unread" ng-show="item.keepUnread" title="<?php p($l->t('Remove keep article unread')); ?>"></button>
</li>
- <li class="util only-in-compact">
- <a class="external icon-link"
- target="_blank"
- ng-href="{{ item.url }}"
- title="<?php p($l->t('Open website')) ?>"
- news-stop-propagation>
- </a>
+ <li ng-click="Content.toggleStar(item.id)" class="util" news-stop-propagation>
+ <button class="star svg" ng-hide="item.starred" title="<?php p($l->t('Star article')); ?>"></button>
+ <button class="starred svg" ng-show="item.starred" title="<?php p($l->t('Unstar article')); ?>"></button>
</li>
</ul>
</div>