Add concept waiter section
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user