summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-19 14:39:40 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-19 14:39:40 +0200
commitfdc383382bd9d0ffe99a4d36dbd4ebaa05b58a11 (patch)
tree9db3ea72fadcce0e4629e86cfa30a7489d11630e
parent4d20b6df1aa6c46a2d7cb212e64ab92dd373ccbc (diff)
Show full unread count when hovering over the unread count
-rw-r--r--CHANGELOG.md1
-rw-r--r--templates/part.navigation.feed.php3
-rw-r--r--templates/part.navigation.folder.php3
-rw-r--r--templates/part.navigation.starredfeed.php3
-rw-r--r--templates/part.navigation.unreadfeed.php3
5 files changed, 9 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 25d54c4b2..263134f6f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@ owncloud-news (3.002)
* **Bugfix**: Fix o shortcut in expanded view
* **Bugfix**: Make **em** tag cursive and black
* **Enhancement**: Cut mark read timeout in half
+* **Enhancement**: Show full unread count when hovering over the unread count
owncloud-news (3.001)
* **New dependency**: Minimum ownCloud version: 8
diff --git a/templates/part.navigation.feed.php b/templates/part.navigation.feed.php
index b8d81faa0..ab1c8a4bb 100644
--- a/templates/part.navigation.feed.php
+++ b/templates/part.navigation.feed.php
@@ -62,7 +62,8 @@
ng-show="feed.id && !feed.editing && !feed.error && !feed.deleted">
<ul>
<li class="app-navigation-entry-utils-counter"
- ng-show="feed.id && Navigation.getFeedUnreadCount(feed.id) > 0">
+ ng-show="feed.id && Navigation.getFeedUnreadCount(feed.id) > 0"
+ title="{{ Navigation.getFeedUnreadCount(feed.id) }}">
{{ Navigation.getFeedUnreadCount(feed.id) | unreadCountFormatter }}
</li>
<li class="app-navigation-entry-utils-menu-button">
diff --git a/templates/part.navigation.folder.php b/templates/part.navigation.folder.php
index c9460d97c..e9edbeb24 100644
--- a/templates/part.navigation.folder.php
+++ b/templates/part.navigation.folder.php
@@ -69,7 +69,8 @@
ng-show="folder.id && !folder.editing && !folder.error && !folder.deleted">
<ul>
<li class="app-navigation-entry-utils-counter"
- ng-show="folder.id && Navigation.getFolderUnreadCount(folder.id) > 0">
+ ng-show="folder.id && Navigation.getFolderUnreadCount(folder.id) > 0"
+ title="{{ Navigation.getFolderUnreadCount(folder.id) }}">
{{ Navigation.getFolderUnreadCount(folder.id) | unreadCountFormatter }}
</li>
<li class="app-navigation-entry-utils-menu-button">
diff --git a/templates/part.navigation.starredfeed.php b/templates/part.navigation.starredfeed.php
index fb185ee67..58dfdad94 100644
--- a/templates/part.navigation.starredfeed.php
+++ b/templates/part.navigation.starredfeed.php
@@ -11,7 +11,8 @@
<div class="app-navigation-entry-utils">
<ul>
<li class="app-navigation-entry-utils-counter"
- ng-show="Navigation.getStarredCount() > 0">
+ ng-show="Navigation.getStarredCount() > 0"
+ title="{{ Navigation.getStarredCount() }}">
{{ Navigation.getStarredCount() | unreadCountFormatter }}
</li>
</ul>
diff --git a/templates/part.navigation.unreadfeed.php b/templates/part.navigation.unreadfeed.php
index 704677968..c18a8875d 100644
--- a/templates/part.navigation.unreadfeed.php
+++ b/templates/part.navigation.unreadfeed.php
@@ -15,7 +15,8 @@
<div class="app-navigation-entry-utils">
<ul>
<li class="app-navigation-entry-utils-counter"
- ng-show="Navigation.getUnreadCount() > 0">
+ ng-show="Navigation.getUnreadCount() > 0"
+ title="{{ Navigation.getUnreadCount() }}">
{{ Navigation.getUnreadCount() | unreadCountFormatter }}
</li>
<li class="app-navigation-entry-utils-menu-button"><button ng-click="optionsId = (optionsId == 'all' ? -1 : 'all')"></button></li>