mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
Merge pull request #846 from sometoby/tinycon-unread-badge
Use tinycon to display unread article count
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
v 2.5.0
|
||||
- unread count is now displayed in a favicon badge when supported
|
||||
|
||||
v 2.4.0
|
||||
- users were not able to change password or delete account
|
||||
- fix api key generation
|
||||
@@ -51,4 +54,4 @@ v2.0.0
|
||||
- The backend has been completely rewritten using Dropwizard instead of TomEE, resulting in a lot less memory consumption and better overall performances.
|
||||
See the README on how to build CommaFeed from now on.
|
||||
- CommaFeed should no longer fetch the same feed multiple times in a row
|
||||
- Users can use their username or email to log in
|
||||
- Users can use their username or email to log in
|
||||
|
||||
@@ -28,7 +28,8 @@
|
||||
"devicejs": "0.2.4",
|
||||
"readabilicons": "arc90/readability-readabilicons#34c55561c5b8ec6e90714b50237c06b13cb9d59c",
|
||||
"zocial-less": "1.0.0",
|
||||
"swagger-ui": "2.1.0"
|
||||
"swagger-ui": "2.1.0",
|
||||
"tinycon": "0.6.5"
|
||||
},
|
||||
"resolutions": {
|
||||
"angular": "1.3.14",
|
||||
|
||||
@@ -70,6 +70,7 @@
|
||||
<script type="text/javascript" src="lib/mousetrap/mousetrap.js"></script>
|
||||
<script type="text/javascript" src="lib/momentjs/min/moment-with-locales.js"></script>
|
||||
<script type="text/javascript" src="lib/devicejs/lib/device.js"></script>
|
||||
<script type="text/javascript" src="lib/tinycon/tinycon.js"></script>
|
||||
|
||||
<script type="text/javascript" src="js/controllers.js"></script>
|
||||
<script type="text/javascript" src="js/directives.js"></script>
|
||||
|
||||
@@ -194,11 +194,7 @@ module.controller('CategoryTreeCtrl', [
|
||||
};
|
||||
|
||||
$scope.$watch(rootUnreadCount, function(value) {
|
||||
var label = 'CommaFeed';
|
||||
if (value > 0) {
|
||||
label = '(' + value + ') ' + label;
|
||||
}
|
||||
$window.document.title = label;
|
||||
Tinycon.setBubble(value);
|
||||
});
|
||||
|
||||
var mark = function(node, entry) {
|
||||
|
||||
Reference in New Issue
Block a user