Merge pull request #22662 from owncloud/comments-count

remove comments count because it is not that relevant to show directly
This commit is contained in:
Thomas Müller 2016-02-29 13:44:56 +01:00
commit a38e8b6436
2 changed files with 3 additions and 5 deletions

View File

@ -128,6 +128,6 @@
box-shadow: 0 0 6px #f8b9b7;
}
.app-files .action-comment>img {
margin-right: 5px;
.app-files .action-comment {
padding: 16px 14px;
}

View File

@ -14,9 +14,8 @@
var TEMPLATE_COMMENTS_UNREAD =
'<a class="action action-comment permanent" title="{{countMessage}}" href="#">' +
'<img class="svg" src="{{iconUrl}}"/>' +
'{{count}}' +
'</a>';
OCA.Comments = _.extend({}, OCA.Comments);
if (!OCA.Comments) {
/**
@ -122,4 +121,3 @@
})();
OC.Plugins.register('OCA.Files.FileList', OCA.Comments.FilesPlugin);