diff options
Diffstat (limited to 'server/sonar-web/src')
3 files changed, 37 insertions, 18 deletions
diff --git a/server/sonar-web/src/main/js/apps/audit-logs/components/AuditAppRenderer.tsx b/server/sonar-web/src/main/js/apps/audit-logs/components/AuditAppRenderer.tsx index 7596356c453..f4dbb7d1490 100644 --- a/server/sonar-web/src/main/js/apps/audit-logs/components/AuditAppRenderer.tsx +++ b/server/sonar-web/src/main/js/apps/audit-logs/components/AuditAppRenderer.tsx @@ -74,7 +74,10 @@ export default function AuditAppRenderer(props: AuditAppRendererProps) { <Suggestions suggestions="audit-logs" /> <Helmet title={translate('audit_logs.page')} /> - <h1 className="spacer-bottom">{translate('audit_logs.page')}</h1> + <header className="page-header"> + <h1 className="page-title">{translate('audit_logs.page')}</h1> + </header> + <p className="big-spacer-bottom"> {translate('audit_logs.page.description.1')} <br /> diff --git a/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx b/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx index 4fc60de4916..0a61310a6d0 100644 --- a/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx +++ b/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx @@ -76,7 +76,7 @@ export default function DownloadButton(props: DownloadButtonProps) { <> <a className={classNames('button button-primary', { disabled: downloadDisabled })} - download="audit-logs.json" + download="audit_logs.json" onClick={downloadDisabled ? undefined : props.onStartDownload} href={downloadUrl} rel="noopener noreferrer" diff --git a/server/sonar-web/src/main/js/apps/audit-logs/components/__tests__/__snapshots__/AuditAppRenderer-test.tsx.snap b/server/sonar-web/src/main/js/apps/audit-logs/components/__tests__/__snapshots__/AuditAppRenderer-test.tsx.snap index 015eb529785..703fa50eae2 100644 --- a/server/sonar-web/src/main/js/apps/audit-logs/components/__tests__/__snapshots__/AuditAppRenderer-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/audit-logs/components/__tests__/__snapshots__/AuditAppRenderer-test.tsx.snap @@ -13,11 +13,15 @@ exports[`should render correctly for monthly housekeeping policy 1`] = ` encodeSpecialCharacters={true} title="audit_logs.page" /> - <h1 - className="spacer-bottom" + <header + className="page-header" > - audit_logs.page - </h1> + <h1 + className="page-title" + > + audit_logs.page + </h1> + </header> <p className="big-spacer-bottom" > @@ -133,11 +137,15 @@ exports[`should render correctly for trimestrial housekeeping policy 1`] = ` encodeSpecialCharacters={true} title="audit_logs.page" /> - <h1 - className="spacer-bottom" + <header + className="page-header" > - audit_logs.page - </h1> + <h1 + className="page-title" + > + audit_logs.page + </h1> + </header> <p className="big-spacer-bottom" > @@ -265,11 +273,15 @@ exports[`should render correctly for weekly housekeeping policy 1`] = ` encodeSpecialCharacters={true} title="audit_logs.page" /> - <h1 - className="spacer-bottom" + <header + className="page-header" > - audit_logs.page - </h1> + <h1 + className="page-title" + > + audit_logs.page + </h1> + </header> <p className="big-spacer-bottom" > @@ -373,11 +385,15 @@ exports[`should render correctly for yearly housekeeping policy 1`] = ` encodeSpecialCharacters={true} title="audit_logs.page" /> - <h1 - className="spacer-bottom" + <header + className="page-header" > - audit_logs.page - </h1> + <h1 + className="page-title" + > + audit_logs.page + </h1> + </header> <p className="big-spacer-bottom" > |