Files
galaxy/static/scripts/templates/compiled/template-popupmenu-menu.js
T

117 lines
4.6 KiB
JavaScript

(function() {
var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
templates['template-popupmenu-menu'] = template(function (Handlebars,depth0,helpers,partials,data) {
helpers = helpers || Handlebars.helpers;
var buffer = "", stack1, foundHelper, functionType="function", escapeExpression=this.escapeExpression, self=this;
function program1(depth0,data) {
var buffer = "", stack1;
buffer += "\n ";
stack1 = depth0.options;
stack1 = helpers.each.call(depth0, stack1, {hash:{},inverse:self.noop,fn:self.program(2, program2, data)});
if(stack1 || stack1 === 0) { buffer += stack1; }
buffer += "\n";
return buffer;}
function program2(depth0,data) {
var buffer = "", stack1;
buffer += "\n ";
stack1 = depth0.divider;
stack1 = helpers['if'].call(depth0, stack1, {hash:{},inverse:self.program(5, program5, data),fn:self.program(3, program3, data)});
if(stack1 || stack1 === 0) { buffer += stack1; }
buffer += "\n ";
return buffer;}
function program3(depth0,data) {
return "\n <li class=\"divider\"></li>\n ";}
function program5(depth0,data) {
var buffer = "", stack1;
buffer += "\n ";
stack1 = depth0.header;
stack1 = helpers['if'].call(depth0, stack1, {hash:{},inverse:self.program(8, program8, data),fn:self.program(6, program6, data)});
if(stack1 || stack1 === 0) { buffer += stack1; }
buffer += "\n ";
return buffer;}
function program6(depth0,data) {
var buffer = "", stack1, foundHelper;
buffer += "\n <li class=\"head\"><a href=\"\"javascript:void(0);\">";
foundHelper = helpers.html;
if (foundHelper) { stack1 = foundHelper.call(depth0, {hash:{}}); }
else { stack1 = depth0.html; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
if(stack1 || stack1 === 0) { buffer += stack1; }
buffer += "</a></li>\n ";
return buffer;}
function program8(depth0,data) {
var buffer = "", stack1, foundHelper;
buffer += "\n ";
buffer += "\n <li><a href=\"";
stack1 = depth0.href;
stack1 = helpers['if'].call(depth0, stack1, {hash:{},inverse:self.program(11, program11, data),fn:self.program(9, program9, data)});
if(stack1 || stack1 === 0) { buffer += stack1; }
buffer += "\"\n ";
stack1 = depth0.href;
stack1 = helpers['if'].call(depth0, stack1, {hash:{},inverse:self.noop,fn:self.program(13, program13, data)});
if(stack1 || stack1 === 0) { buffer += stack1; }
buffer += " class=\"popupmenu-option\">\n ";
stack1 = depth0.checked;
stack1 = helpers['if'].call(depth0, stack1, {hash:{},inverse:self.noop,fn:self.program(15, program15, data)});
if(stack1 || stack1 === 0) { buffer += stack1; }
buffer += "\n ";
foundHelper = helpers.html;
if (foundHelper) { stack1 = foundHelper.call(depth0, {hash:{}}); }
else { stack1 = depth0.html; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
if(stack1 || stack1 === 0) { buffer += stack1; }
buffer += "\n </a></li>\n ";
return buffer;}
function program9(depth0,data) {
var stack1, foundHelper;
foundHelper = helpers.href;
if (foundHelper) { stack1 = foundHelper.call(depth0, {hash:{}}); }
else { stack1 = depth0.href; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
return escapeExpression(stack1);}
function program11(depth0,data) {
return "javascript:void(0);";}
function program13(depth0,data) {
var buffer = "", stack1, foundHelper;
buffer += "target=\"";
foundHelper = helpers.target;
if (foundHelper) { stack1 = foundHelper.call(depth0, {hash:{}}); }
else { stack1 = depth0.target; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
buffer += escapeExpression(stack1) + "\"";
return buffer;}
function program15(depth0,data) {
return "<span class=\"fa-icon-ok\"></span>";}
function program17(depth0,data) {
return "\n <li>No Options.</li>\n";}
buffer += "<ul id=\"";
foundHelper = helpers.id;
if (foundHelper) { stack1 = foundHelper.call(depth0, {hash:{}}); }
else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
buffer += escapeExpression(stack1) + "-menu\" class=\"dropdown-menu\">\n";
stack1 = depth0.options;
stack1 = stack1 == null || stack1 === false ? stack1 : stack1.length;
stack1 = helpers['if'].call(depth0, stack1, {hash:{},inverse:self.program(17, program17, data),fn:self.program(1, program1, data)});
if(stack1 || stack1 === 0) { buffer += stack1; }
buffer += "\n</ul>";
return buffer;});
})();