summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2016-02-25 20:48:19 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2016-02-25 20:48:19 +0100
commit6e97ab1b7197f98c1ce5bf2a0c582585eecadde6 (patch)
treea98a6b078ea86dd7961fba7d6f28a0fab6b48aae /apps/comments
parent3772a8acdb611b441bf2ea4fa3e0a37110a9d69f (diff)
downloadnextcloud-server-6e97ab1b7197f98c1ce5bf2a0c582585eecadde6.tar.gz
nextcloud-server-6e97ab1b7197f98c1ce5bf2a0c582585eecadde6.zip
remove comments count because it is not that relevant to show directly
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/css/comments.css4
-rw-r--r--apps/comments/js/filesplugin.js4
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 =
'<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);
-