From: Jan-Christoph Borchardt Date: Thu, 25 Feb 2016 19:48:19 +0000 (+0100) Subject: remove comments count because it is not that relevant to show directly X-Git-Tag: v9.0.0RC1~27^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6e97ab1b7197f98c1ce5bf2a0c582585eecadde6;p=nextcloud-server.git remove comments count because it is not that relevant to show directly --- diff --git a/apps/comments/css/comments.css b/apps/comments/css/comments.css index 57a731184a0..a9b72252e88 100644 --- a/apps/comments/css/comments.css +++ b/apps/comments/css/comments.css @@ -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; } diff --git a/apps/comments/js/filesplugin.js b/apps/comments/js/filesplugin.js index 084cfb41034..ec201d1d3f7 100644 --- a/apps/comments/js/filesplugin.js +++ b/apps/comments/js/filesplugin.js @@ -14,9 +14,8 @@ var TEMPLATE_COMMENTS_UNREAD = '' + '' + - '{{count}}' + ''; - + OCA.Comments = _.extend({}, OCA.Comments); if (!OCA.Comments) { /** @@ -122,4 +121,3 @@ })(); OC.Plugins.register('OCA.Files.FileList', OCA.Comments.FilesPlugin); -