You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

templates.js 3.0KB

123456789101112131415161718192021222324252627282930313233343536
  1. (function() {
  2. var template = Handlebars.template, templates = OC.Settings.Templates = OC.Settings.Templates || {};
  3. templates['federationscopemenu'] = template({"1":function(container,depth0,helpers,partials,data) {
  4. var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
  5. return " <li tabindex=\"0\">\n <a href=\"#\" class=\"menuitem action action-"
  6. + 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)))
  7. + " permanent "
  8. + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.active : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
  9. + "\" data-action=\""
  10. + 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)))
  11. + "\">\n"
  12. + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.iconClass : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.program(6, data, 0),"data":data})) != null ? stack1 : "")
  13. + " <p>\n <strong class=\"menuitem-text\">"
  14. + alias4(((helper = (helper = helpers.displayName || (depth0 != null ? depth0.displayName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"displayName","hash":{},"data":data}) : helper)))
  15. + "</strong><br>\n <span class=\"menuitem-text-detail\">"
  16. + alias4(((helper = (helper = helpers.tooltip || (depth0 != null ? depth0.tooltip : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"tooltip","hash":{},"data":data}) : helper)))
  17. + "</span>\n </p>\n </a>\n </li>\n";
  18. },"2":function(container,depth0,helpers,partials,data) {
  19. return "active";
  20. },"4":function(container,depth0,helpers,partials,data) {
  21. var helper;
  22. return " <span class=\"icon "
  23. + container.escapeExpression(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"iconClass","hash":{},"data":data}) : helper)))
  24. + "\"></span>\n";
  25. },"6":function(container,depth0,helpers,partials,data) {
  26. return " <span class=\"no-icon\"></span>\n";
  27. },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
  28. var stack1;
  29. return "<ul>\n"
  30. + ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.items : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
  31. + "</ul>\n";
  32. },"useData":true});
  33. })();