summaryrefslogtreecommitdiffstats
path: root/templates/part.content.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-04 13:48:44 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-04 13:48:44 +0200
commit8ecc37bafc86fdf954ea5606b87f04a7bae54570 (patch)
tree502c8bfb5fac95ff25ecaeec88bdeaf56e76115a /templates/part.content.php
parent96c7439c7372d603e36412c39d6b2b8948565199 (diff)
fix #624
Diffstat (limited to 'templates/part.content.php')
-rw-r--r--templates/part.content.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index ed83aef75..2b19b93f6 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -8,6 +8,9 @@
<div news-auto-focus="#app-content"
ng-class="{compact: Content.isCompactView(), 'feed-view': Content.isFeed()}">
+ <div class="pull-to-refresh" ng-class="{'show-pull-to-refresh': showPullToRefresh}">
+ <button ng-click="Content.refresh()"><?php p($l->t('Refresh')) ?></button>
+ </div>
<ul>
<li class="item {{ Content.getFeed(item.feedId).cssClass }}"
ng-repeat="item in Content.getItems() | orderBy:[Content.orderBy()] track by item.id"