]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove comments count because it is not that relevant to show directly
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 25 Feb 2016 19:48:19 +0000 (20:48 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 25 Feb 2016 19:48:19 +0000 (20:48 +0100)
apps/comments/css/comments.css
apps/comments/js/filesplugin.js

index 57a731184a0b9f12c9895c40b670e9562242d867..a9b72252e88d2cd44d538b4481453ee0584fc7b0 100644 (file)
        box-shadow: 0 0 6px #f8b9b7;
 }
 
-.app-files .action-comment>img {
-       margin-right: 5px;
+.app-files .action-comment {
+       padding: 16px 14px;
 }
index 084cfb41034ea074f9471152a272f5abef3a051a..ec201d1d3f7e1517a053a405bfad040cafe4ad1c 100644 (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) {
                /**
 })();
 
 OC.Plugins.register('OCA.Files.FileList', OCA.Comments.FilesPlugin);
-