Skip to content

Commit 74150e5

Browse files
authored
Merge pull request #588 from PolymathNetwork/release
Bugfixes and copy changes, 1.6
2 parents b553c0e + e0feb44 commit 74150e5

5 files changed

Lines changed: 23 additions & 6 deletions

File tree

packages/polymath-issuer/src/pages/compliance/components/ImportWhitelistModal.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ class ImportWhitelistModal extends Component<Props> {
107107
<Modal.Header>Import Whitelist</Modal.Header>
108108
<h4 className="pui-h4">
109109
Add multiple addresses to the whitelist by uploading a comma separated
110-
.CSV file. The format should be as follows:
110+
.CSV file. <strong>You may add up to 40 addresses per .CSV file</strong>. The
111+
format should be as follows:
111112
<br /> ETH Address (address to whitelist);
112113
<br /> Sell Restriction Date: <strong>mm/dd/yyyy</strong> (date when
113114
the resale restrictions should be lifted for that address);
@@ -197,7 +198,7 @@ class ImportWhitelistModal extends Component<Props> {
197198
/>
198199
) : (
199200
<Remark title="Reminder">
200-
Investors must be approved before they are added to the whitelist.
201+
Investors must be approved before they are added to the whitelist. <br />Your file cannot exceed 40 addresses. If you have more than 40 addresses on your whitelist, upload multiple files.
201202
</Remark>
202203
)}
203204
<Modal.Footer>

packages/polymath-issuer/src/pages/sto/components/ConfigureSTOForm/forms/USDTieredSTO/TierModal.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class TierModal extends Component {
8383
render() {
8484
const {
8585
field: { name, value },
86-
form: { values },
86+
form: { errors, values },
8787
ticker,
8888
isOpen,
8989
onClose,
@@ -104,6 +104,7 @@ class TierModal extends Component {
104104
onClose={onClose}
105105
actionButtonText={tierData ? `Save` : `Add new`}
106106
onSubmit={tierData ? this.handleOnEdit : this.handleOnAdd}
107+
isActionDisabled={!!get(errors, name)}
107108
maxWidth={740}
108109
>
109110
<ActionModal.Header>
@@ -117,7 +118,7 @@ class TierModal extends Component {
117118
token. Provide the necessary information below to add a new
118119
investment tier.
119120
</Paragraph>
120-
<Grid gridAutoFlow="column" gridAutoColumns="1fr">
121+
<Grid gridAutoFlow="column" gridAutoColumns="1fr" mb={4}>
121122
<FormItem name={`${name}.tokensAmount`}>
122123
<FormItem.Label>
123124
<Tooltip triggerText="Number of tokens">

packages/polymath-issuer/src/pages/token/components/MintTokens.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ class MintTokens extends Component<Props> {
271271
<br />• Number of tokens to mint for the ETH address (integer).
272272
<br />
273273
<Remark title="Note">
274-
40 is the maximum number of addresses per transaction.
274+
Your file cannot exceed 40 addresses. If you have more than 40 addresses on your whitelist, upload multiple files.
275275
</Remark>
276276
</h4>
277277
<h5 className="pui-h5">

packages/polymath-ui/src/components/Modal/styles.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ export const modalStyle = css`
7474
7575
// TODO @grsmto: remove hack once we refactored ConfirmModal Redux actions:
7676
// the action should not pass an hardcoded class name
77+
&.pui-confirm-modal .pui-modal {
78+
width: 500px;
79+
}
7780
&.pui-large-confirm-modal .pui-modal {
7881
width: 700px;
7982
}

packages/polymath-ui/src/redux/account/actions.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,18 @@ export const faucet = (message: string, amount?: number = 100500) => async (
368368
&raquo; button below to receive {thousandsDelimiter(amount)} test POLY
369369
in your wallet.
370370
</p>
371+
<p>
372+
To receive your Kovan Testnet POLY, you’ll need a supply of KETH
373+
(Kovan Testnet ETH) to pay for gas fees. To receive your KETH,{' '}
374+
<a
375+
target="_blank"
376+
rel="noopener noreferrer"
377+
href="https://github.com/kovan-testnet/faucet#kovan-faucet"
378+
>
379+
click here
380+
</a>{' '}
381+
and follow the steps to receive your KETH.
382+
</p>
371383
<br />
372384
<Remark title="Note">
373385
This option is not available on the Mainnet.
@@ -394,7 +406,7 @@ export const faucet = (message: string, amount?: number = 100500) => async (
394406
},
395407
title,
396408
buttonLabel,
397-
'',
409+
'pui-large-confirm-modal',
398410
headerLabel
399411
)
400412
);

0 commit comments

Comments
 (0)