diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-01 20:46:29 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-04 09:53:45 +0200 |
commit | b0fd31496b5edb95264c0ea3139692b5969f40e0 (patch) | |
tree | 77f0034a4759edccf2c3993ce4cefa12e25b077e /core/js/sharedialogresharerinfoview.js | |
parent | b10cddebe583dff888d844c550f607d52b496d49 (diff) | |
download | nextcloud-server-b0fd31496b5edb95264c0ea3139692b5969f40e0.tar.gz nextcloud-server-b0fd31496b5edb95264c0ea3139692b5969f40e0.zip |
Move OC.Share to compiled handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js/sharedialogresharerinfoview.js')
-rw-r--r-- | core/js/sharedialogresharerinfoview.js | 13 |
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']; } }); |