diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2021-08-21 10:14:45 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2021-09-02 11:32:44 +0200 |
commit | 1f8880c8dec2863cf9d14af4e62b6b5f527cbeb3 (patch) | |
tree | 2c47cc4c58e060e70841fff8af9c1b7d6809a862 /templates | |
parent | 1be66add82c48767df741cc65c1178002af09963 (diff) |
Revert Add Vue and ng-vue packages
This reverts commits:
8809bb2c560c08fac4b099edaa32b23bd103725d
d2a5c26ee1ca854bfb5bfd917602ad0e9d83cf86
3344431a9b0debdf8d77ea122291c4b2d2b753ee
83cdcb016b6bc2679893d5c93325f4003f8b4209
36d304ec763da893881eed1a1edd46efd4d5e571
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
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': |