mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
43 lines
2.2 KiB
JavaScript
43 lines
2.2 KiB
JavaScript
(function() {
|
|
var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
|
|
templates['template-hda-annotationArea'] = template(function (Handlebars,depth0,helpers,partials,data) {
|
|
this.compilerInfo = [4,'>= 1.0.0'];
|
|
helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
|
|
var buffer = "", stack1, options, functionType="function", escapeExpression=this.escapeExpression, self=this, blockHelperMissing=helpers.blockHelperMissing;
|
|
|
|
function program1(depth0,data) {
|
|
|
|
|
|
return "Annotation";
|
|
}
|
|
|
|
function program3(depth0,data) {
|
|
|
|
|
|
return "Edit dataset annotation";
|
|
}
|
|
|
|
buffer += "\n<div id=\"";
|
|
if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
|
|
else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
|
buffer += escapeExpression(stack1)
|
|
+ "-annotation-area\" class=\"annotation-area\" style=\"display: none;\">\n <strong>";
|
|
options = {hash:{},inverse:self.noop,fn:self.program(1, program1, data),data:data};
|
|
if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); }
|
|
else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
|
if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); }
|
|
if(stack1 || stack1 === 0) { buffer += stack1; }
|
|
buffer += ":</strong>\n <div id=\"";
|
|
if (stack1 = helpers.id) { stack1 = stack1.call(depth0, {hash:{},data:data}); }
|
|
else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
|
buffer += escapeExpression(stack1)
|
|
+ "-anotation-elt\" class=\"annotation-elt tooltip editable-text\"\n style=\"margin: 1px 0px 1px 0px\" title=\"";
|
|
options = {hash:{},inverse:self.noop,fn:self.program(3, program3, data),data:data};
|
|
if (stack1 = helpers.local) { stack1 = stack1.call(depth0, options); }
|
|
else { stack1 = depth0.local; stack1 = typeof stack1 === functionType ? stack1.apply(depth0) : stack1; }
|
|
if (!helpers.local) { stack1 = blockHelperMissing.call(depth0, stack1, options); }
|
|
if(stack1 || stack1 === 0) { buffer += stack1; }
|
|
buffer += "\">\n </div>\n</div>";
|
|
return buffer;
|
|
});
|
|
})(); |