diff options
author | Mathieu Suen <mathieu.suen@sonarsource.com> | 2020-02-24 10:31:12 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2020-02-24 20:46:11 +0100 |
commit | b495d4d0b934c8f5ee3aaf17fa3892fb1e6a31b6 (patch) | |
tree | 3638ed70e11e138f88df7d5da6e8539d9d3b2ff3 | |
parent | 9b4d7d25b5262193501e2a0420a9b66513733159 (diff) | |
download | sonarqube-b495d4d0b934c8f5ee3aaf17fa3892fb1e6a31b6.tar.gz sonarqube-b495d4d0b934c8f5ee3aaf17fa3892fb1e6a31b6.zip |
SONAR-12796 Fix typo in permission template page.
5 files changed, 7 insertions, 11 deletions
diff --git a/server/sonar-web/src/main/js/apps/permission-templates/components/ListHeader.tsx b/server/sonar-web/src/main/js/apps/permission-templates/components/ListHeader.tsx index ae00435f1b4..912f76f000a 100644 --- a/server/sonar-web/src/main/js/apps/permission-templates/components/ListHeader.tsx +++ b/server/sonar-web/src/main/js/apps/permission-templates/components/ListHeader.tsx @@ -44,9 +44,7 @@ export default class ListHeader extends React.PureComponent<Props> { render() { const cells = this.props.permissions.map(permission => ( - <th - className="permission-column little-padding-left little-padding-right" - key={permission.key}> + <th className="permission-column little-padded-left little-padded-right" key={permission.key}> <div className="permission-column-inner"> <span className="text-middle">{translate('projects_role', permission.key)}</span> <HelpTooltip className="spacer-left" overlay={this.renderTooltip(permission)} /> @@ -57,11 +55,9 @@ export default class ListHeader extends React.PureComponent<Props> { return ( <thead> <tr> - <th className="little-padding-left little-padding-right"> </th> + <th className="little-padded-left little-padded-right"> </th> {cells} - <th className="thin nowrap text-right little-padding-left little-padding-right"> - - </th> + <th className="thin nowrap text-right little-padded-left little-padded-right"> </th> </tr> </thead> ); diff --git a/server/sonar-web/src/main/js/apps/permission-templates/components/ListItem.tsx b/server/sonar-web/src/main/js/apps/permission-templates/components/ListItem.tsx index 9a5012783a7..68a7e21c7af 100644 --- a/server/sonar-web/src/main/js/apps/permission-templates/components/ListItem.tsx +++ b/server/sonar-web/src/main/js/apps/permission-templates/components/ListItem.tsx @@ -40,7 +40,7 @@ export default function ListItem(props: Props) { {permissions} - <td className="nowrap thin text-right text-top little-padding-left little-padding-right"> + <td className="nowrap thin text-right text-top little-padded-left little-padded-right"> <ActionsCell organization={props.organization} permissionTemplate={props.template} diff --git a/server/sonar-web/src/main/js/apps/permission-templates/components/NameCell.tsx b/server/sonar-web/src/main/js/apps/permission-templates/components/NameCell.tsx index bb8c91e73f8..ca84db31958 100644 --- a/server/sonar-web/src/main/js/apps/permission-templates/components/NameCell.tsx +++ b/server/sonar-web/src/main/js/apps/permission-templates/components/NameCell.tsx @@ -32,7 +32,7 @@ export default function NameCell({ template, organization }: Props) { : '/permission_templates'; return ( - <td className="little-padding-left little-padding-right"> + <td className="little-padded-left little-padded-right"> <Link to={{ pathname, query: { id: template.id } }}> <strong className="js-name">{template.name}</strong> </Link> diff --git a/server/sonar-web/src/main/js/apps/permission-templates/components/PermissionCell.tsx b/server/sonar-web/src/main/js/apps/permission-templates/components/PermissionCell.tsx index 45867520958..51a362ddf48 100644 --- a/server/sonar-web/src/main/js/apps/permission-templates/components/PermissionCell.tsx +++ b/server/sonar-web/src/main/js/apps/permission-templates/components/PermissionCell.tsx @@ -33,7 +33,7 @@ interface Props { export default function PermissionCell({ permission: p }: Props) { return ( - <td className="permission-column little-padding-left little-padding-right"> + <td className="permission-column little-padded-left little-padded-right"> <div className="permission-column-inner"> <ul> {p.withProjectCreator && ( diff --git a/server/sonar-web/src/main/js/apps/permission-templates/components/__tests__/__snapshots__/ListItem-test.tsx.snap b/server/sonar-web/src/main/js/apps/permission-templates/components/__tests__/__snapshots__/ListItem-test.tsx.snap index cce4308092e..ecd0a74aeb6 100644 --- a/server/sonar-web/src/main/js/apps/permission-templates/components/__tests__/__snapshots__/ListItem-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/permission-templates/components/__tests__/__snapshots__/ListItem-test.tsx.snap @@ -17,7 +17,7 @@ exports[`render correctly 1`] = ` } /> <td - className="nowrap thin text-right text-top little-padding-left little-padding-right" + className="nowrap thin text-right text-top little-padded-left little-padded-right" > <withRouter(ActionsCell) permissionTemplate={ |