From: Grégoire Aubert Date: Fri, 26 May 2017 15:15:46 +0000 (+0200) Subject: remove avatar for system events on issues changelog popup (#2109) X-Git-Tag: 6.4-RC3~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fabe47ffc83b50609697e1825a656ffe711d3b57;p=sonarqube.git remove avatar for system events on issues changelog popup (#2109) --- diff --git a/server/sonar-web/src/main/js/components/issue/popups/ChangelogPopup.js b/server/sonar-web/src/main/js/components/issue/popups/ChangelogPopup.js index c856a2c94c7..7551e9869db 100644 --- a/server/sonar-web/src/main/js/components/issue/popups/ChangelogPopup.js +++ b/server/sonar-web/src/main/js/components/issue/popups/ChangelogPopup.js @@ -82,7 +82,6 @@ export default class ChangelogPopup extends React.PureComponent { {moment(issue.creationDate).format('LLL')} - {author ? `${translate('created_by')} ${author}` : translate('created')} @@ -93,16 +92,17 @@ export default class ChangelogPopup extends React.PureComponent { {moment(item.creationDate).format('LLL')} - - - {item.userName} - + {item.userName && +

+ + {item.userName} +

} {item.diffs.map(diff => )} diff --git a/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/ChangelogPopup-test.js.snap b/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/ChangelogPopup-test.js.snap index 8934f554418..078a01fc7bf 100644 --- a/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/ChangelogPopup-test.js.snap +++ b/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/ChangelogPopup-test.js.snap @@ -17,9 +17,6 @@ exports[`should render the changelog popup correctly 1`] = ` > March 1, 2017 9:36 AM - @@ -32,20 +29,18 @@ exports[`should render the changelog popup correctly 1`] = ` > March 1, 2017 9:36 AM - - - john.doe - +

+ + john.doe +