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 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  5. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  6. return parent[propertyName];
  7. }
  8. return undefined
  9. };
  10. return " <li tabindex=\"0\">\n <a href=\"#\" class=\"menuitem action action-"
  11. + alias4(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data,"loc":{"start":{"line":4,"column":45},"end":{"line":4,"column":53}}}) : helper)))
  12. + " permanent "
  13. + ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"active") : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":4,"column":64},"end":{"line":4,"column":91}}})) != null ? stack1 : "")
  14. + "\" data-action=\""
  15. + alias4(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data,"loc":{"start":{"line":4,"column":106},"end":{"line":4,"column":114}}}) : helper)))
  16. + "\">\n"
  17. + ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"iconClass") : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.program(6, data, 0),"data":data,"loc":{"start":{"line":5,"column":4},"end":{"line":9,"column":11}}})) != null ? stack1 : "")
  18. + " <p>\n <strong class=\"menuitem-text\">"
  19. + alias4(((helper = (helper = lookupProperty(helpers,"displayName") || (depth0 != null ? lookupProperty(depth0,"displayName") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"displayName","hash":{},"data":data,"loc":{"start":{"line":11,"column":35},"end":{"line":11,"column":50}}}) : helper)))
  20. + "</strong><br>\n <span class=\"menuitem-text-detail\">"
  21. + alias4(((helper = (helper = lookupProperty(helpers,"tooltip") || (depth0 != null ? lookupProperty(depth0,"tooltip") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"tooltip","hash":{},"data":data,"loc":{"start":{"line":12,"column":40},"end":{"line":12,"column":51}}}) : helper)))
  22. + "</span>\n </p>\n </a>\n </li>\n";
  23. },"2":function(container,depth0,helpers,partials,data) {
  24. return "active";
  25. },"4":function(container,depth0,helpers,partials,data) {
  26. var helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  27. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  28. return parent[propertyName];
  29. }
  30. return undefined
  31. };
  32. return " <span class=\"icon "
  33. + container.escapeExpression(((helper = (helper = lookupProperty(helpers,"iconClass") || (depth0 != null ? lookupProperty(depth0,"iconClass") : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"iconClass","hash":{},"data":data,"loc":{"start":{"line":6,"column":23},"end":{"line":6,"column":36}}}) : helper)))
  34. + "\"></span>\n";
  35. },"6":function(container,depth0,helpers,partials,data) {
  36. return " <span class=\"no-icon\"></span>\n";
  37. },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
  38. var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  39. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  40. return parent[propertyName];
  41. }
  42. return undefined
  43. };
  44. return "<ul>\n"
  45. + ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"items") : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":2,"column":1},"end":{"line":16,"column":10}}})) != null ? stack1 : "")
  46. + "</ul>\n";
  47. },"useData":true});
  48. })();