Add unassigned message on user timeline

stable
Álex Hermida 2018-04-20 13:30:39 +02:00
parent 03d189194f
commit d816ee4777
1 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,10 @@ class UserTimelineItemTitle
if value == null && timeline.getIn(["data", "value_diff", "key"]) == 'assigned_to'
value = @translate.instant('ACTIVITY.VALUES.UNASSIGNED')
# assigned_users to unasigned
if value == null && timeline.getIn(["data", "value_diff", "key"]) == 'assigned_users'
value = @translate.instant('ACTIVITY.VALUES.UNASSIGNED')
# due date
else if timeline.getIn(["data", "value_diff", "key"]) == 'due_date'
if value