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
@@ -23,8 +23,7 @@
# return translation in the form
# <span data-t="models.table">Tafel</span>
@tspan = (path, vars={})->
"<span data-t='#{path}'>#{t(path)}</span>"
@tspan = (path, vars={}) -> "<span data-t='#{path}' data-t-attributes='#{JSON.stringify(vars)}'>#{t(path, vars)}</span>"
@t = (path, vars={}) ->