Add supplier info popup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Ember.Handlebars.helper 't', (path, params..., options)->
|
||||
text = t(path)
|
||||
tag = if options.hash.bare then text else "<span data-t='#{path}' data-t-attributes='{}'>#{text}</span>"
|
||||
text = t(path, options.hash)
|
||||
tag = if options.hash.bare then text else "<span data-t='#{path}' data-t-attributes='#{JSON.stringify(options.hash)}'>#{text}</span>"
|
||||
tag.htmlSafe()
|
||||
|
||||
Reference in New Issue
Block a user