Improved task title generation.
This commit is contained in:
parent
7e37dbd9a0
commit
3b586cb018
1 changed files with 6 additions and 2 deletions
|
@ -50,10 +50,14 @@ class App.TicketCreate extends App.Controller
|
||||||
@render(defaults)
|
@render(defaults)
|
||||||
|
|
||||||
meta: =>
|
meta: =>
|
||||||
|
text = App.i18n.translateInline( @article_attributes['title'] )
|
||||||
|
subject = @el.find('[name=subject]').val()
|
||||||
|
if subject
|
||||||
|
text = "#{text}: #{subject}"
|
||||||
meta =
|
meta =
|
||||||
url: @url()
|
url: @url()
|
||||||
head: App.i18n.translateInline( @article_attributes['title'] )
|
head: text
|
||||||
title: App.i18n.translateInline( @article_attributes['title'] )
|
title: text
|
||||||
id: @type
|
id: @type
|
||||||
|
|
||||||
url: =>
|
url: =>
|
||||||
|
|
Loading…
Reference in a new issue