Add concept waiter section

This commit is contained in:
2014-03-23 15:30:21 +01:00
parent 37970e5bef
commit 474d5f88c6
45 changed files with 367 additions and 103 deletions
@@ -0,0 +1 @@
#= require_directory .
@@ -0,0 +1,3 @@
Ember.Handlebars.registerBoundHelper 'currency', (amount, params..., options)->
amount = 0.0 if isNaN(amount) || amount== '' || amount == null
new Handlebars.SafeString('€ ' + parseFloat(amount).toFixed(2))
@@ -0,0 +1,4 @@
Ember.Handlebars.registerHelper 't', (path, params..., options)->
text = t(path)
tag = if options.hash.bare then text else "<span data-t=\"#{path}\">#{text}</span>"
new Handlebars.SafeString tag