Template for activity entries of issues severity or type changes
parent
b522939f37
commit
1e471a203c
|
@ -1232,6 +1232,8 @@
|
||||||
"FIELDS": {
|
"FIELDS": {
|
||||||
"SUBJECT": "subject",
|
"SUBJECT": "subject",
|
||||||
"DESCRIPTION": "description",
|
"DESCRIPTION": "description",
|
||||||
|
"PRIORITY": "priority",
|
||||||
|
"SEVERITY": "severity",
|
||||||
"STATUS": "status",
|
"STATUS": "status",
|
||||||
"TYPE": "type",
|
"TYPE": "type",
|
||||||
"ASSIGNED_TO": "assigned to",
|
"ASSIGNED_TO": "assigned to",
|
||||||
|
|
|
@ -13,6 +13,16 @@
|
||||||
)
|
)
|
||||||
include history-templates/history-milestone
|
include history-templates/history-milestone
|
||||||
|
|
||||||
|
.diff-wrapper(
|
||||||
|
ng-if="vm.type == 'priority'"
|
||||||
|
)
|
||||||
|
include history-templates/history-priority
|
||||||
|
|
||||||
|
.diff-wrapper(
|
||||||
|
ng-if="vm.type == 'severity'"
|
||||||
|
)
|
||||||
|
include history-templates/history-severity
|
||||||
|
|
||||||
.diff-wrapper(
|
.diff-wrapper(
|
||||||
ng-if="vm.type == 'status'"
|
ng-if="vm.type == 'status'"
|
||||||
)
|
)
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
.diff-status-wrapper
|
||||||
|
span.key(
|
||||||
|
translate="ACTIVITY.FIELDS.PRIORITY"
|
||||||
|
)
|
||||||
|
span.diff(ng-if="vm.diff[0]") {{vm.diff[0]}}
|
||||||
|
tg-svg(
|
||||||
|
svg-icon="icon-arrow-right"
|
||||||
|
)
|
||||||
|
span.diff(ng-if="vm.diff[1]") {{vm.diff[1]}}
|
|
@ -0,0 +1,9 @@
|
||||||
|
.diff-status-wrapper
|
||||||
|
span.key(
|
||||||
|
translate="ACTIVITY.FIELDS.SEVERITY"
|
||||||
|
)
|
||||||
|
span.diff(ng-if="vm.diff[0]") {{vm.diff[0]}}
|
||||||
|
tg-svg(
|
||||||
|
svg-icon="icon-arrow-right"
|
||||||
|
)
|
||||||
|
span.diff(ng-if="vm.diff[1]") {{vm.diff[1]}}
|
Loading…
Reference in New Issue