Parenthesis in unread-counter is now on CSS

This commit is contained in:
fabianofranz
2014-09-17 13:21:51 -03:00
parent 49b9e3f278
commit 0ff630b8bd
2 changed files with 10 additions and 2 deletions

View File

@@ -193,7 +193,7 @@ module.directive('category', [function() {
});
var label = '';
if (count > 0) {
label = count;
label += count;
}
return label;
};
@@ -201,7 +201,7 @@ module.directive('category', [function() {
$scope.feedCountLabel = function(feed) {
var label = '';
if (feed.unread > 0) {
label = feed.unread;
label += feed.unread;
}
return label;
};

View File

@@ -101,6 +101,14 @@
font-size: 11px;
}
.css-treeview .unread ~ .unread-counter::before {
content: '(';
}
.css-treeview .unread ~ .unread-counter::after {
content: ')';
}
.css-treeview a {
cursor: pointer;
color: black;