Template for activity entries of issues severity or type changes

stable
Daniel García 2018-04-26 16:55:06 +02:00 committed by Alex Hermida
parent b522939f37
commit 1e471a203c
4 changed files with 30 additions and 0 deletions

View File

@ -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",

View File

@ -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'"
) )

View File

@ -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]}}

View File

@ -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]}}