(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:
parent
26de414e12
commit
2fd68c55ee
|
@ -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>
|
||||||
</>
|
</>
|
||||||
|
|
|
@ -57,7 +57,7 @@ const ThresholdSettings = (): React.ReactElement => {
|
||||||
onClick={toggleModal}
|
onClick={toggleModal}
|
||||||
variant="contained"
|
variant="contained"
|
||||||
>
|
>
|
||||||
Modify
|
Change
|
||||||
</Button>
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -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'}
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue