diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-01 19:55:08 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-04 10:53:44 +0300 |
commit | a0368608f0fd3d3d1b6107d6826cf78bc5fbabee (patch) | |
tree | 33b46f78c03d584a58f055804656198833dffe3a /apps | |
parent | 48d1fe01169f9437bfe762852023e666641f029f (diff) |
Move systemtagsinfoviewtoggleview away from handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/systemtags/js/systemtagsinfoviewtoggleview.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/systemtags/js/systemtagsinfoviewtoggleview.js b/apps/systemtags/js/systemtagsinfoviewtoggleview.js index 13a48e49cfb..a3261e7994d 100644 --- a/apps/systemtags/js/systemtagsinfoviewtoggleview.js +++ b/apps/systemtags/js/systemtagsinfoviewtoggleview.js @@ -21,9 +21,6 @@ (function(OCA) { - var TEMPLATE = - '<span class="icon icon-tag"/>' + t('systemtags', 'Tags'); - /** * @class OCA.SystemTags.SystemTagsInfoViewToggleView * @classdesc @@ -49,10 +46,7 @@ _systemTagsInfoView: null, template: function(data) { - if (!this._template) { - this._template = Handlebars.compile(TEMPLATE); - } - return this._template(data); + return '<span class="icon icon-tag"/>' + t('systemtags', 'Tags'); }, /** |