summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-21 13:53:36 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-21 13:53:47 +0100
commit8ddead06277f7c863fe048e9990d4c9ce0c24424 (patch)
tree699416065dcf10871bf416164f36f1d05a03a480 /templates
parent3306d28e2d45fa03c2ca5b93de45ad59e7aad3f0 (diff)
fix #660
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.explore.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.content.explore.php b/templates/part.content.explore.php
index 546d8f118..45e312f58 100644
--- a/templates/part.content.explore.php
+++ b/templates/part.content.explore.php
@@ -7,10 +7,10 @@
<h2>{{ category }}</h2>
<ul>
- <li ng-repeat="entry in data | orderBy:'-votes'" ng-if="!Explore.feedExists(entry.url)">
+ <li ng-repeat="entry in data | orderBy:'-votes'" ng-if="!Explore.feedExists(entry.feed)">
<h3 ng-show="entry.favicon"
ng-style="{ backgroundImage: 'url(' + entry.favicon + ')'}">
- {{ entry.title }}
+ <a target="_blank" ng-href="{{ entry.url }}">{{ entry.title }}</a>
</h3>
<h3 ng-hide="entry.favicon" class="icon-rss">
{{ entry.title }}
@@ -23,7 +23,7 @@
</div>
</div>
<div class="explore-subscribe">
- <button ng-click="Explore.subscribeTo(entry.feed || entry.url)">
+ <button ng-click="Explore.subscribeTo(entry.feed)">
<?php p($l->t('Subscribe')) ?>
</button>
</div>