diff options
Diffstat (limited to 'templates/part.content.explore.php')
-rw-r--r-- | templates/part.content.explore.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/part.content.explore.php b/templates/part.content.explore.php index 3ae47c916..546d8f118 100644 --- a/templates/part.content.explore.php +++ b/templates/part.content.explore.php @@ -1,7 +1,9 @@ <?php print_unescaped($this->inc('part.content.cronwarning')) ?> <div id="explore"> - <div ng-repeat="(category, data) in Explore.sites | orderBy:'category.toLowerCase()'" class="explore-section"> + <div ng-repeat="(category, data) in Explore.sites | orderBy:'category.toLowerCase()'" + ng-if="Explore.isCategoryShown(data)" + class="explore-section"> <h2>{{ category }}</h2> <ul> @@ -21,7 +23,7 @@ </div> </div> <div class="explore-subscribe"> - <button ng-click="Explore.subscribeTo(entry.url)"> + <button ng-click="Explore.subscribeTo(entry.feed || entry.url)"> <?php p($l->t('Subscribe')) ?> </button> </div> |