summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2021-08-21 10:14:45 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2021-09-02 11:32:44 +0200
commit1f8880c8dec2863cf9d14af4e62b6b5f527cbeb3 (patch)
tree2c47cc4c58e060e70841fff8af9c1b7d6809a862 /templates
parent1be66add82c48767df741cc65c1178002af09963 (diff)
Revert Add Vue and ng-vue packages
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php1
-rw-r--r--templates/part.content.php11
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':