Added iconTextClass to improve ticket popover.

This commit is contained in:
Martin Edenhofer 2015-01-14 23:52:23 +01:00
parent 1b1771afd5
commit 14a57f7a12

View file

@ -44,6 +44,9 @@ class App.Ticket extends App.Model
iconTitle: (user) ->
App.TicketState.find( @state_id ).displayName()
iconTextClass: (user) ->
"level-#{ @level() }"
iconActivity: (user) ->
if @owner_id == user.id
return 'important'