menu and section header progress

This commit is contained in:
2014-11-26 20:18:17 +01:00
parent a64d3de319
commit 60f014811c
38 changed files with 450 additions and 96 deletions
@@ -1,4 +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>"
tag = if options.hash.bare then text else "<span data-t='#{path}' data-t-attributes='{}'>#{text}</span>"
new Handlebars.SafeString tag