templates.js 7.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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, 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 ((stack1 = lookupProperty(helpers,"unless").call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"hidden") : depth0),{"name":"unless","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":3,"column":2},"end":{"line":25,"column":13}}})) != null ? stack1 : "");
  11. },"2":function(container,depth0,helpers,partials,data) {
  12. var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  13. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  14. return parent[propertyName];
  15. }
  16. return undefined
  17. };
  18. return " <li>\n"
  19. + ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"disabled") : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.program(6, data, 0),"data":data,"loc":{"start":{"line":5,"column":3},"end":{"line":9,"column":10}}})) != null ? stack1 : "")
  20. + ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"iconClass") : depth0),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.program(10, data, 0),"data":data,"loc":{"start":{"line":10,"column":4},"end":{"line":14,"column":11}}})) != null ? stack1 : "")
  21. + " <p>\n <strong class=\"menuitem-text\">"
  22. + 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":16,"column":35},"end":{"line":16,"column":50}}}) : helper)))
  23. + "</strong><br>\n <span class=\"menuitem-text-detail\">"
  24. + 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":17,"column":40},"end":{"line":17,"column":51}}}) : helper)))
  25. + "</span>\n </p>\n"
  26. + ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"disabled") : depth0),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.program(14, data, 0),"data":data,"loc":{"start":{"line":19,"column":3},"end":{"line":23,"column":10}}})) != null ? stack1 : "")
  27. + " </li>\n";
  28. },"3":function(container,depth0,helpers,partials,data) {
  29. var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  30. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  31. return parent[propertyName];
  32. }
  33. return undefined
  34. };
  35. return " <div class=\"menuitem action action-"
  36. + 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":6,"column":38},"end":{"line":6,"column":46}}}) : helper)))
  37. + " permanent "
  38. + ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"active") : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":6,"column":57},"end":{"line":6,"column":84}}})) != null ? stack1 : "")
  39. + " disabled\" data-action=\""
  40. + 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":6,"column":108},"end":{"line":6,"column":116}}}) : helper)))
  41. + "\">\n";
  42. },"4":function(container,depth0,helpers,partials,data) {
  43. return "active";
  44. },"6":function(container,depth0,helpers,partials,data) {
  45. var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  46. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  47. return parent[propertyName];
  48. }
  49. return undefined
  50. };
  51. return " <a href=\"#\" class=\"menuitem action action-"
  52. + 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":8,"column":45},"end":{"line":8,"column":53}}}) : helper)))
  53. + " permanent "
  54. + ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"active") : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":8,"column":64},"end":{"line":8,"column":91}}})) != null ? stack1 : "")
  55. + "\" data-action=\""
  56. + 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":8,"column":106},"end":{"line":8,"column":114}}}) : helper)))
  57. + "\">\n";
  58. },"8":function(container,depth0,helpers,partials,data) {
  59. var helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  60. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  61. return parent[propertyName];
  62. }
  63. return undefined
  64. };
  65. return " <span class=\"icon "
  66. + 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":11,"column":23},"end":{"line":11,"column":36}}}) : helper)))
  67. + "\"></span>\n";
  68. },"10":function(container,depth0,helpers,partials,data) {
  69. return " <span class=\"no-icon\"></span>\n";
  70. },"12":function(container,depth0,helpers,partials,data) {
  71. return " </div>\n";
  72. },"14":function(container,depth0,helpers,partials,data) {
  73. return " </a>\n";
  74. },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
  75. var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  76. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  77. return parent[propertyName];
  78. }
  79. return undefined
  80. };
  81. return "<ul>\n"
  82. + ((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":26,"column":10}}})) != null ? stack1 : "")
  83. + "</ul>\n";
  84. },"useData":true});
  85. })();