2018-09-27 15:07:48 +03:00
|
|
|
(function() {
|
|
|
|
var template = Handlebars.template, templates = OC.Settings.Templates = OC.Settings.Templates || {};
|
2018-10-15 11:44:24 +03:00
|
|
|
templates['federationscopemenu'] = template({"1":function(container,depth0,helpers,partials,data) {
|
2021-02-01 05:34:36 +03:00
|
|
|
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
|
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
|
|
return parent[propertyName];
|
|
|
|
}
|
|
|
|
return undefined
|
|
|
|
};
|
|
|
|
|
|
|
|
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 : "");
|
|
|
|
},"2":function(container,depth0,helpers,partials,data) {
|
2020-01-21 18:25:59 +03:00
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
|
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
|
|
return parent[propertyName];
|
|
|
|
}
|
|
|
|
return undefined
|
|
|
|
};
|
2018-10-15 11:44:24 +03:00
|
|
|
|
2021-02-01 05:34:36 +03:00
|
|
|
return " <li>\n"
|
|
|
|
+ ((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 : "")
|
|
|
|
+ ((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 : "")
|
2018-10-15 11:44:24 +03:00
|
|
|
+ " <p>\n <strong class=\"menuitem-text\">"
|
2021-02-01 05:34:36 +03:00
|
|
|
+ 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)))
|
2018-10-15 11:44:24 +03:00
|
|
|
+ "</strong><br>\n <span class=\"menuitem-text-detail\">"
|
2021-02-01 05:34:36 +03:00
|
|
|
+ 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)))
|
|
|
|
+ "</span>\n </p>\n"
|
|
|
|
+ ((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 : "")
|
|
|
|
+ " </li>\n";
|
|
|
|
},"3":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
|
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
|
|
return parent[propertyName];
|
|
|
|
}
|
|
|
|
return undefined
|
|
|
|
};
|
|
|
|
|
|
|
|
return " <div class=\"menuitem action action-"
|
|
|
|
+ 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)))
|
|
|
|
+ " permanent "
|
|
|
|
+ ((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 : "")
|
|
|
|
+ " disabled\" data-action=\""
|
|
|
|
+ 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)))
|
|
|
|
+ "\">\n";
|
2018-10-15 11:44:24 +03:00
|
|
|
},"4":function(container,depth0,helpers,partials,data) {
|
2021-02-01 05:34:36 +03:00
|
|
|
return "active";
|
|
|
|
},"6":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
|
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
|
|
return parent[propertyName];
|
|
|
|
}
|
|
|
|
return undefined
|
|
|
|
};
|
|
|
|
|
|
|
|
return " <a href=\"#\" class=\"menuitem action action-"
|
|
|
|
+ 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)))
|
|
|
|
+ " permanent "
|
|
|
|
+ ((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 : "")
|
|
|
|
+ "\" data-action=\""
|
|
|
|
+ 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)))
|
|
|
|
+ "\">\n";
|
|
|
|
},"8":function(container,depth0,helpers,partials,data) {
|
2020-01-21 18:25:59 +03:00
|
|
|
var helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
|
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
|
|
return parent[propertyName];
|
|
|
|
}
|
|
|
|
return undefined
|
|
|
|
};
|
2018-10-15 11:44:24 +03:00
|
|
|
|
|
|
|
return " <span class=\"icon "
|
2021-02-01 05:34:36 +03:00
|
|
|
+ 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)))
|
2018-10-15 11:44:24 +03:00
|
|
|
+ "\"></span>\n";
|
2021-02-01 05:34:36 +03:00
|
|
|
},"10":function(container,depth0,helpers,partials,data) {
|
2018-10-15 11:44:24 +03:00
|
|
|
return " <span class=\"no-icon\"></span>\n";
|
2021-02-01 05:34:36 +03:00
|
|
|
},"12":function(container,depth0,helpers,partials,data) {
|
|
|
|
return " </div>\n";
|
|
|
|
},"14":function(container,depth0,helpers,partials,data) {
|
|
|
|
return " </a>\n";
|
2019-09-27 09:11:44 +03:00
|
|
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
2020-01-21 18:25:59 +03:00
|
|
|
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
|
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
|
|
return parent[propertyName];
|
|
|
|
}
|
|
|
|
return undefined
|
|
|
|
};
|
2018-10-15 11:44:24 +03:00
|
|
|
|
|
|
|
return "<ul>\n"
|
2021-02-01 05:34:36 +03:00
|
|
|
+ ((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 : "")
|
2018-10-15 11:44:24 +03:00
|
|
|
+ "</ul>\n";
|
|
|
|
},"useData":true});
|
2018-09-27 15:07:48 +03:00
|
|
|
})();
|