diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-09-27 21:04:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 21:04:33 +0200 |
commit | d72d2670352b5a511ebcd5b84f4326d36edd0b1b (patch) | |
tree | a8528046f0e02037535dc83c5aa3ee7826b25881 /apps/files/js/filesummary_template.js | |
parent | d9842314586c8f19c5c2e763b8e142aa00bd5469 (diff) | |
parent | ae1250f422126808691a99de45ec1ae0574678da (diff) | |
download | nextcloud-server-d72d2670352b5a511ebcd5b84f4326d36edd0b1b.tar.gz nextcloud-server-d72d2670352b5a511ebcd5b84f4326d36edd0b1b.zip |
Merge pull request #11410 from nextcloud/csp/11030/filesummary_compiled_handlebars
Compile filesummary handlebars
Diffstat (limited to 'apps/files/js/filesummary_template.js')
-rw-r--r-- | apps/files/js/filesummary_template.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/files/js/filesummary_template.js b/apps/files/js/filesummary_template.js new file mode 100644 index 00000000000..c535c43cae5 --- /dev/null +++ b/apps/files/js/filesummary_template.js @@ -0,0 +1,10 @@ +(function() { + var template = Handlebars.template, templates = OCA.Files.FileSummary.Templates = OCA.Files.FileSummary.Templates || {}; +templates['filesummary'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { + var helper; + + return "<span class=\"info\">\n <span class=\"dirinfo\"></span>\n <span class=\"connector\">" + + container.escapeExpression(((helper = (helper = helpers.connectorLabel || (depth0 != null ? depth0.connectorLabel : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0,{"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}); +})();
\ No newline at end of file |