menu and section header progress
This commit is contained in:
@@ -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={}) ->
|
||||
|
||||
Reference in New Issue
Block a user