summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-05-11 08:08:14 +0000
committerBenjamin Brahmer <info@b-brahmer.de>2019-05-11 10:08:14 +0200
commit1a54c2abec7e05c60d7bf6eda7259b8e08a92dde (patch)
treec62ba676425290f129613bdd1db2a0b37aff8ffc /templates
parentbd43d0f3b17c76bbe41f68f6d1cc5926da6b38fe (diff)
add "mark read" floating button mobile. Fixes #469 (#505)
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index c240053ca..6b57af338 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -12,6 +12,10 @@
<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>
+ <button ng-controller="NavigationController as Navigation" id="mark-all-read-button" ng-click="Navigation.markCurrentRead()" class="hidden">
+ <span title="Mark Read" class="icon-checkmark"></span>
+ </button>
+
<ul>
<li class="item {{ ::Content.getFeed(item.feedId).cssClass }}"
ng-repeat="item in Content.getItems() |