summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.explore.php4
-rw-r--r--templates/part.navigation.addfeed.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/part.content.explore.php b/templates/part.content.explore.php
index e098bd9c4..8b7c6fe32 100644
--- a/templates/part.content.explore.php
+++ b/templates/part.content.explore.php
@@ -15,7 +15,9 @@
<img ng-src="{{ entry.image }}" ng-if="entry.image">
</div>
<div class="explore-subscribe">
- <button><?php p($l->t('Subscribe')) ?></button>
+ <button ng-click="Explore.subscribeTo(entry.url)">
+ <?php p($l->t('Subscribe')) ?>
+ </button>
</div>
</li>
</ul>
diff --git a/templates/part.navigation.addfeed.php b/templates/part.navigation.addfeed.php
index 386e8800e..0841b03a3 100644
--- a/templates/part.navigation.addfeed.php
+++ b/templates/part.navigation.addfeed.php
@@ -5,7 +5,7 @@
news-focus="[name='address']"><?php p($l->t('Subscribe'))?></button>
</div>
- <div class="add-new-popup" id="new-feed">
+ <div class="add-new-popup" id="new-feed" news-add-feed="Navigation.feed">
<form ng-submit="Navigation.createFeed(Navigation.feed)"
name="feedform">