summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-29 13:44:56 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-29 13:44:56 +0100
commita38e8b6436ccfe173b4d368d094753c71bdbd69f (patch)
tree34354fbf967216562b3510a2e898aeffad2b94a2 /apps
parentd98217d8ba90fd0082b055d55e96c03fac9bb4c3 (diff)
parent6e97ab1b7197f98c1ce5bf2a0c582585eecadde6 (diff)
downloadnextcloud-server-a38e8b6436ccfe173b4d368d094753c71bdbd69f.tar.gz
nextcloud-server-a38e8b6436ccfe173b4d368d094753c71bdbd69f.zip
Merge pull request #22662 from owncloud/comments-count
remove comments count because it is not that relevant to show directly
Diffstat (limited to 'apps')
-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);
-