Update timeline templates
parent
da12da88eb
commit
b1668eef9f
|
@ -143,6 +143,7 @@
|
|||
"SEVERITY": "Severity",
|
||||
"PRIORITY": "Priority",
|
||||
"ASSIGNED_TO": "Assigned to",
|
||||
"ASSIGNED_USERS": "Assigned users",
|
||||
"POINTS": "Points",
|
||||
"IS_BLOCKED": "is blocked",
|
||||
"REF": "Ref",
|
||||
|
|
|
@ -31,6 +31,7 @@ class UserTimelineItemTitle
|
|||
'description_diff': 'COMMON.FIELDS.DESCRIPTION',
|
||||
'points': 'COMMON.FIELDS.POINTS',
|
||||
'assigned_to': 'COMMON.FIELDS.ASSIGNED_TO',
|
||||
'assigned_users': 'COMMON.FIELDS.ASSIGNED_USERS',
|
||||
'severity': 'ISSUES.FIELDS.SEVERITY',
|
||||
'priority': 'ISSUES.FIELDS.PRIORITY',
|
||||
'type': 'ISSUES.FIELDS.TYPE',
|
||||
|
@ -172,7 +173,8 @@ class UserTimelineItemTitle
|
|||
|
||||
getTitle: (timeline, event, type) ->
|
||||
params = @._getParams(timeline, event, type)
|
||||
|
||||
# console.log(timeline)
|
||||
# console.log(event)
|
||||
paramsKeys = {}
|
||||
Object.keys(params).forEach (key) -> paramsKeys[key] = '{{' +key + '}}'
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ class UserTimelineService extends taiga.Service
|
|||
'status',
|
||||
'subject',
|
||||
'description_diff',
|
||||
'assigned_users',
|
||||
'assigned_to',
|
||||
'points',
|
||||
'severity',
|
||||
|
|
Loading…
Reference in New Issue