diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-01 18:50:09 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-04 09:53:44 +0200 |
commit | 48d1fe01169f9437bfe762852023e666641f029f (patch) | |
tree | d01860e7870b5bfb6eb195af70ee40b60897bc77 /apps/files/js/templates.js | |
parent | 0b27595eb46aa6ad4dacf5506670dc0ced267537 (diff) | |
download | nextcloud-server-48d1fe01169f9437bfe762852023e666641f029f.tar.gz nextcloud-server-48d1fe01169f9437bfe762852023e666641f029f.zip |
Move filelist to compiled handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files/js/templates.js')
-rw-r--r-- | apps/files/js/templates.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/files/js/templates.js b/apps/files/js/templates.js index 8ada62b6d60..9e93d5b5ac3 100644 --- a/apps/files/js/templates.js +++ b/apps/files/js/templates.js @@ -36,4 +36,13 @@ templates['filesummary'] = template({"compiler":[7,">= 4.0.0"],"main":function(c + container.escapeExpression(((helper = (helper = helpers.connectorLabel || (depth0 != null ? depth0.connectorLabel : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"connectorLabel","hash":{},"data":data}) : helper))) + "</span>\n <span class=\"fileinfo\"></span>\n <span class=\"hiddeninfo\"></span>\n <span class=\"filter\"></span>\n</span>\n"; },"useData":true}); +templates['template_addbutton'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { + var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; + + return "<a href=\"#\" class=\"button new\">\n <span class=\"icon " + + alias4(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"iconClass","hash":{},"data":data}) : helper))) + + "\"></span>\n <span class=\"hidden-visually\">" + + alias4(((helper = (helper = helpers.addText || (depth0 != null ? depth0.addText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"addText","hash":{},"data":data}) : helper))) + + "</span>\n</a>\n"; +},"useData":true}); })();
\ No newline at end of file |