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