From 6e97ab1b7197f98c1ce5bf2a0c582585eecadde6 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 25 Feb 2016 20:48:19 +0100 Subject: [PATCH] remove comments count because it is not that relevant to show directly --- apps/comments/css/comments.css | 4 ++-- apps/comments/js/filesplugin.js | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) 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); - -- 2.39.5