(feature) Wording improvements (#1999)

* Fix reject and cancel button on Rejection modal

* change buttons labels on modal (Settings/Policies)

* fix Policies button align to the right

* change wording cancel for reject
This commit is contained in:
Agustín Longoni 2021-03-15 07:02:48 -03:00 committed by GitHub
parent 26de414e12
commit 2fd68c55ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -199,8 +199,8 @@ export const ChangeThresholdModal = ({
)} )}
<Row align="center" className={classes.buttonRow}> <Row align="center" className={classes.buttonRow}>
<Button minWidth={140} onClick={onClose}> <Button minWidth={140} onClick={onClose} color="secondary">
Back Cancel
</Button> </Button>
<Button <Button
color="primary" color="primary"
@ -209,7 +209,7 @@ export const ChangeThresholdModal = ({
variant="contained" variant="contained"
disabled={txEstimationExecutionStatus === EstimationStatus.LOADING} disabled={txEstimationExecutionStatus === EstimationStatus.LOADING}
> >
Change Submit
</Button> </Button>
</Row> </Row>
</> </>

View File

@ -57,7 +57,7 @@ const ThresholdSettings = (): React.ReactElement => {
onClick={toggleModal} onClick={toggleModal}
variant="contained" variant="contained"
> >
Modify Change
</Button> </Button>
</Row> </Row>
)} )}

View File

@ -396,8 +396,8 @@ export const ApproveTxModal = ({
{/* Footer */} {/* Footer */}
<Row align="center" className={classes.buttonRow}> <Row align="center" className={classes.buttonRow}>
<Button minHeight={42} minWidth={140} onClick={onClose}> <Button minHeight={42} minWidth={140} onClick={onClose} color="secondary">
Exit Close
</Button> </Button>
<Button <Button
color={isCancelTx ? 'secondary' : 'primary'} color={isCancelTx ? 'secondary' : 'primary'}

View File

@ -103,7 +103,7 @@ export const RejectTxModal = ({ isOpen, onClose, gwTransaction }: Props): React.
<Block className={classes.container}> <Block className={classes.container}>
<Row> <Row>
<Paragraph> <Paragraph>
This action will cancel this transaction. A separate transaction will be performed to submit the This action will reject this transaction. A separate transaction will be performed to submit the
rejection. rejection.
</Paragraph> </Paragraph>
<Paragraph color="medium" size="sm"> <Paragraph color="medium" size="sm">
@ -134,8 +134,8 @@ export const RejectTxModal = ({ isOpen, onClose, gwTransaction }: Props): React.
</Block> </Block>
)} )}
<Row align="center" className={classes.buttonRow}> <Row align="center" className={classes.buttonRow}>
<Button minHeight={42} minWidth={140} onClick={onClose}> <Button minHeight={42} minWidth={140} onClick={onClose} color="secondary">
Exit Close
</Button> </Button>
<Button <Button
color="secondary" color="secondary"