Move systemtagsinfoviewtoggleview away from handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
48d1fe0116
commit
a0368608f0
|
@ -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');
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue