Fixes #3543 - Translate link text of link template in organization sidebar in ticket zoom.
This commit is contained in:
parent
a862a44bfc
commit
12ad55279a
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class App extends Spine.Controller
|
|||
return if _.isEmpty(object[attributeConfig.name])
|
||||
placeholderObjects = { attribute: attributeConfig, session: App.Session.get(), config: App.Config.all() }
|
||||
placeholderObjects[object.constructor.className.toLowerCase()] = object
|
||||
"<a href=\"#{App.Utils.replaceTags(attributeConfig.linktemplate, placeholderObjects, true)}\" target=\"blank\">#{App.Utils.htmlEscape(resultLocal)}</a>"
|
||||
"<a href=\"#{App.Utils.replaceTags(attributeConfig.linktemplate, placeholderObjects, true)}\" target=\"blank\">#{App.i18n.translateInline(resultLocal)}</a>"
|
||||
|
||||
@view: (name) ->
|
||||
template = (params = {}) ->
|
||||
|
|
Loading…
Reference in a new issue