diff options
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/js/components/issue/components/IssueChangelogDiff.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/components/IssueChangelogDiff.js b/server/sonar-web/src/main/js/components/issue/components/IssueChangelogDiff.js index e0b1a93556b..f858a13810a 100644 --- a/server/sonar-web/src/main/js/components/issue/components/IssueChangelogDiff.js +++ b/server/sonar-web/src/main/js/components/issue/components/IssueChangelogDiff.js @@ -43,6 +43,28 @@ export default function IssueChangelogDiff(props /*: { diff: ChangelogDiff } */) </p> ); } + if (diff.key === 'from_long_branch') { + return ( + <p> + {translateWithParameters( + 'issue.change.from_long_branch', + diff.oldValue || '', + diff.newValue || '' + )} + </p> + ); + } + if (diff.key === 'from_short_branch') { + return ( + <p> + {translateWithParameters( + 'issue.change.from_short_branch', + diff.oldValue || '', + diff.newValue || '' + )} + </p> + ); + } let message; if (diff.newValue != null) { |