aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2016-10-10 11:14:51 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-07 14:58:45 +0100
commit5bf7e5533d79c98d720d92ecee0125938805ff0f (patch)
treef8b9fc3fffa74f5ce858fd8184ed79663a6cd4d7 /apps/files_sharing/js
parent9e5e120ef9869b7c52d90e85782ec83a9217275d (diff)
downloadnextcloud-server-5bf7e5533d79c98d720d92ecee0125938805ff0f.tar.gz
nextcloud-server-5bf7e5533d79c98d720d92ecee0125938805ff0f.zip
visually reflect sharing state of current folder
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/sharebreadcrumbview.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/files_sharing/js/sharebreadcrumbview.js b/apps/files_sharing/js/sharebreadcrumbview.js
index 7e659768304..9803c8f6dea 100644
--- a/apps/files_sharing/js/sharebreadcrumbview.js
+++ b/apps/files_sharing/js/sharebreadcrumbview.js
@@ -25,11 +25,7 @@
(function() {
'use strict';
- var TEMPLATE = '{{#if isShared}}'
- + 'Shared!'
- + '{{else}}'
- + 'Not shared!'
- + '{{/if}}';
+ var TEMPLATE = '<span class="icon icon-share {{#if isShared}}shared{{/if}}"></span>';
var BreadCrumbView = OC.Backbone.View.extend({
tagName: 'span',