diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-29 12:26:17 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-29 12:26:17 +0200 |
commit | e7313a20e71b9876ac1b4f7debc26b386cee3cf3 (patch) | |
tree | e046d8bf0f5de5f9b443335a5c9a137ad3161010 /templates | |
parent | 802ddff3f485e99afba7eb9a0a15bb2fe91ded73 (diff) |
fix #610
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.content.php | 22 |
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> |