Added iconTextClass to improve ticket popover.
This commit is contained in:
parent
1b1771afd5
commit
14a57f7a12
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ class App.Ticket extends App.Model
|
||||||
iconTitle: (user) ->
|
iconTitle: (user) ->
|
||||||
App.TicketState.find( @state_id ).displayName()
|
App.TicketState.find( @state_id ).displayName()
|
||||||
|
|
||||||
|
iconTextClass: (user) ->
|
||||||
|
"level-#{ @level() }"
|
||||||
|
|
||||||
iconActivity: (user) ->
|
iconActivity: (user) ->
|
||||||
if @owner_id == user.id
|
if @owner_id == user.id
|
||||||
return 'important'
|
return 'important'
|
||||||
|
|
Loading…
Reference in a new issue