templates.js 2.3 KB

12345678910111213141516171819202122232425262728
  1. (function() {
  2. var template = Handlebars.template, templates = OCA.Sharing.Templates = OCA.Sharing.Templates || {};
  3. templates['files_drop'] = template({"1":function(container,depth0,helpers,partials,data) {
  4. var helper;
  5. return " <span class=\"icon-loading-small\"></span> "
  6. + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"name","hash":{},"data":data}) : helper)))
  7. + "\n";
  8. },"3":function(container,depth0,helpers,partials,data) {
  9. var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
  10. return " <img src=\""
  11. + alias4(((helper = (helper = helpers.iconSrc || (depth0 != null ? depth0.iconSrc : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"iconSrc","hash":{},"data":data}) : helper)))
  12. + "\"/> "
  13. + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
  14. + "\n";
  15. },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
  16. var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
  17. return "<li data-toggle=\"tooltip\" title=\""
  18. + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
  19. + "\" data-name=\""
  20. + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
  21. + "\">\n"
  22. + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.isUploading : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
  23. + "</li>\n";
  24. },"useData":true});
  25. })();