diff options
author | Roman <reverse@jamm.me> | 2017-05-23 21:18:37 +0200 |
---|---|---|
committer | Bernhard Posselt <BernhardPosselt@users.noreply.github.com> | 2017-05-23 21:18:37 +0200 |
commit | 3a054c59f2897aa577316ff52a28e3ad70831ea7 (patch) | |
tree | 3f902ff74da56d3cd5edd9a5cdb1bc971ca2e98d | |
parent | 6a49dbe342d749cd5af96b1c797db378a2272d8d (diff) |
Fix for #156 (#157)
As I said in the issue, "mark read" is the most used menu item, and it must be the first, that way we will drag the mouse less.
-rw-r--r-- | templates/part.navigation.feed.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/part.navigation.feed.php b/templates/part.navigation.feed.php index 3c715761a..08c510c14 100644 --- a/templates/part.navigation.feed.php +++ b/templates/part.navigation.feed.php @@ -86,6 +86,12 @@ <div class="app-navigation-entry-menu"> <ul> + <li ng-show="Navigation.isFeedUnread(feed.id)" class="mark-read"> + <button ng-click="Navigation.markFeedRead(feed.id)"> + <span class="icon-checkmark"></span> + <span><?php p($l->t('Mark read')); ?></span> + </button> + </li> <li> <button ng-click="Navigation.togglePinned(feed.id)" ng-show="feed.pinned"> @@ -151,12 +157,6 @@ <span><?php p($l->t('Delete')); ?></span> </button> </li> - <li ng-show="Navigation.isFeedUnread(feed.id)" class="mark-read"> - <button ng-click="Navigation.markFeedRead(feed.id)"> - <span class="icon-checkmark"></span> - <span><?php p($l->t('Mark read')); ?></span> - </button> - </li> </ul> </div> |