diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.php | 1 | ||||
-rw-r--r-- | templates/part.content.php | 11 |
2 files changed, 10 insertions, 2 deletions
diff --git a/templates/index.php b/templates/index.php index 1296c8440..9ad38a0d5 100644 --- a/templates/index.php +++ b/templates/index.php @@ -97,4 +97,3 @@ foreach (Plugin::getScripts() as $appName => $fileName) { news-scroll-enabled-mark-read="Content.markReadEnabled()" news-scroll-auto-page="Content.autoPage()" news-scroll-mark-read="Content.scrollRead(itemIds)"></div> - diff --git a/templates/part.content.php b/templates/part.content.php index f0c80e27e..6250fefb5 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -30,7 +30,16 @@ ng-class="{'compact-dropdown': Content.showDropdown[item.id]}"> <ul> <li class="util-spacer"></li> - <vue-component name="IconLinkCompact" v-props-item="item" v-props-ctrl="Content" v-props-t="App.t" /> + <li class="util only-in-compact"> + <a class="external icon-link" + ng-click="Content.markRead(item.id)" + target="_blank" + rel="noreferrer" + ng-href="{{ ::item.url }}" + title="<?php p($l->t('Open website')) ?>" + news-stop-propagation> + </a> + </li> <li class="title only-in-compact" ng-class="{ 'icon-rss': |