Removed parenthesis from counter labels

This commit is contained in:
fabianofranz
2014-09-17 00:56:37 -03:00
parent 0b46187ac5
commit a4cc65c6a4

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;
};
@@ -358,4 +358,4 @@ module.directive('metricGauge', function() {
restrict : 'E',
templateUrl : 'templates/_metrics.gauge.html'
};
});
});