summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-19 19:39:59 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-19 19:39:59 +0100
commitc8b8ee69d143c2c0a74182e90e01da5d64a42cc6 (patch)
tree2e2f80c5caee1babdb8eb708066817ae31d57ccf /templates
parentd630b2cf818c8f381833e563909d1b6d052bbda9 (diff)
fix #134
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php5
-rw-r--r--templates/part.content.php2
2 files changed, 5 insertions, 2 deletions
diff --git a/templates/index.php b/templates/index.php
index d68818f80..2abd289ed 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -91,7 +91,10 @@ if (defined('DEBUG') && DEBUG === true) {
tabindex="-1"
news-pull-to-refresh="showPullToRefresh">
<div id="app-content-wrapper"
- ng-class="{'autopaging': App.loading.isLoading('autopaging')}"
+ ng-class="{
+ 'autopaging': App.loading.isLoading('autopaging'),
+ 'finished-auto-paging': Content.isNothingMoreToAutoPage
+ }"
ng-hide="App.loading.isLoading('global')"
ng-view
news-scroll="#app-content"
diff --git a/templates/part.content.php b/templates/part.content.php
index f4a4a99b2..23fb17199 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -13,7 +13,7 @@
<?php p($l->t('Refresh')) ?> (r)
</button>
</div>
- <div ng-if="Content.getItems().length == 0" class="no-feeds-available">
+ <div ng-show="Content.getItems().length == 0" class="no-feeds-available">
<p ng-show="Content.isShowAll()"><?php p($l->t('No articles available')) ?></p>
<p ng-show="!Content.isShowAll()"><?php p($l->t('No unread articles available')) ?></p>
</div>