Created
November 4, 2012 13:44
-
-
Save vpryim/4011975 to your computer and use it in GitHub Desktop.
Template.compiled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.require.define({"templates/summary-item": function(exports, require, module) { | |
module.exports = Handlebars.template(function (Handlebars,depth0,helpers,partials,data) { | |
helpers = helpers || Handlebars.helpers; | |
var buffer = "", stack1, foundHelper, self=this, functionType="function", helperMissing=helpers.helperMissing, undef=void 0, escapeExpression=this.escapeExpression; | |
buffer += "<header>"; | |
foundHelper = helpers.category; | |
stack1 = foundHelper || depth0.category; | |
stack1 = (stack1 === null || stack1 === undefined || stack1 === false ? stack1 : stack1.title); | |
if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } | |
else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "category.title", { hash: {} }); } | |
buffer += escapeExpression(stack1) + "</header>\n<div class=\"item\" draggable=\"true\">\n <span class=\"value\">"; | |
foundHelper = helpers.flightCompletion; | |
stack1 = foundHelper || depth0.flightCompletion; | |
if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } | |
else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "flightCompletion", { hash: {} }); } | |
buffer += escapeExpression(stack1) + "</span>\n <span class=\"desc\">%</span>\n <footer>\n <span class=\"title\">дотримання рейсу</span>\n </footer>\n</div>\n<div class=\"item\">\n <span class=\"value\">"; | |
foundHelper = helpers.deviation; | |
stack1 = foundHelper || depth0.deviation; | |
if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } | |
else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "deviation", { hash: {} }); } | |
buffer += escapeExpression(stack1) + "</span>\n <span class=\"desc\">хв</span>\n <footer>\n <span class=\"title\">відхилення</span>\n </footer>\n</div>\n<div class=\"item\">\n <span class=\"value\">"; | |
foundHelper = helpers.lateness; | |
stack1 = foundHelper || depth0.lateness; | |
if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } | |
else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "lateness", { hash: {} }); } | |
buffer += escapeExpression(stack1) + "</span>\n <span class=\"desc\">хв</span>\n <footer>\n <span class=\"title\">відставання</span>\n </footer>\n</div>\n<div class=\"item\">\n <span class=\"value\">"; | |
foundHelper = helpers.ahead; | |
stack1 = foundHelper || depth0.ahead; | |
if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } | |
else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "ahead", { hash: {} }); } | |
buffer += escapeExpression(stack1) + "</span>\n <span class=\"desc\">хв</span>\n <footer>\n <span class=\"title\">випередження</span>\n </footer>\n</div>\n<div class=\"item\">\n <span class=\"value\">"; | |
foundHelper = helpers.speed; | |
stack1 = foundHelper || depth0.speed; | |
if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); } | |
else if(stack1=== undef) { stack1 = helperMissing.call(depth0, "speed", { hash: {} }); } | |
buffer += escapeExpression(stack1) + "</span>\n <span class=\"desc\">км/год</span>\n <footer>\n <span class=\"title\">швидкість</span>\n </footer>\n</div>\n<div class=\"item column2\">\n <span class=\"value\">2148</span>\n <footer><span class=\"title\">виконаних рейсів</span></footer>\n</div>\n<div class=\"item gray\">\n <span class=\"value\">45</span>\n <footer><span class=\"title\">машин</span></footer>\n</div>\n<div class=\"item gray\">\n <span class=\"value\">8</span>\n <footer><span class=\"title\">маршрутів</span></footer>\n</div>\n<div class=\"item gray\">\n <span class=\"value\">3</span>\n <footer><span class=\"title\">перевізника</span></footer>\n</div>"; | |
return buffer;}); | |
}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment