diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-19 16:43:14 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-19 16:43:14 +0100 |
commit | 71269582fa0d07ff91ad80a04e39428ff735748f (patch) | |
tree | bbee92d6ca1d29017ed89b9a62ba1b22135c531f /templates | |
parent | 5658386300d4315065484cea3517f9cea87bff0f (diff) |
allow to add feeds from recommended sites
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.content.explore.php | 4 | ||||
-rw-r--r-- | templates/part.navigation.addfeed.php | 2 |
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"> |