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) {
|
(function(OCA) {
|
||||||
|
|
||||||
var TEMPLATE =
|
|
||||||
'<span class="icon icon-tag"/>' + t('systemtags', 'Tags');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @class OCA.SystemTags.SystemTagsInfoViewToggleView
|
* @class OCA.SystemTags.SystemTagsInfoViewToggleView
|
||||||
* @classdesc
|
* @classdesc
|
||||||
|
@ -49,10 +46,7 @@
|
||||||
_systemTagsInfoView: null,
|
_systemTagsInfoView: null,
|
||||||
|
|
||||||
template: function(data) {
|
template: function(data) {
|
||||||
if (!this._template) {
|
return '<span class="icon icon-tag"/>' + t('systemtags', 'Tags');
|
||||||
this._template = Handlebars.compile(TEMPLATE);
|
|
||||||
}
|
|
||||||
return this._template(data);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue