summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialogresharerinfoview.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/sharedialogresharerinfoview.js')
-rw-r--r--core/js/sharedialogresharerinfoview.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/core/js/sharedialogresharerinfoview.js b/core/js/sharedialogresharerinfoview.js
index b2d5a093990..f55f2bcc527 100644
--- a/core/js/sharedialogresharerinfoview.js
+++ b/core/js/sharedialogresharerinfoview.js
@@ -15,14 +15,6 @@
OC.Share = {};
}
- var TEMPLATE =
- '<span class="reshare">' +
- ' <div class="avatar" data-userName="{{reshareOwner}}"></div>' +
- ' {{sharedByText}}' +
- '</span>' +
- '{{#if hasShareNote}}<div class="share-note">{{shareNote}}</div>{{/if}}'
- ;
-
/**
* @class OCA.Share.ShareDialogView
* @member {OC.Share.ShareItemModel} model
@@ -159,10 +151,7 @@
* @private
*/
template: function () {
- if (!this._template) {
- this._template = Handlebars.compile(TEMPLATE);
- }
- return this._template;
+ return OC.Share.Templates['sharedialogresharerinfoview'];
}
});