From 98cec17f6dfbaea7bc2be73e1d3e98f4c1cc7f01 Mon Sep 17 00:00:00 2001 From: Ewa Kowalska <30404388+ekowalsk@users.noreply.github.com> Date: Mon, 21 Dec 2020 19:29:55 +0100 Subject: [PATCH] Add second column to bounty add modal (#4259) --- packages/page-bounties/src/BountyCreate.tsx | 76 +++++++++++++-------- 1 file changed, 49 insertions(+), 27 deletions(-) diff --git a/packages/page-bounties/src/BountyCreate.tsx b/packages/page-bounties/src/BountyCreate.tsx index 8524b3f886..08bbe23318 100644 --- a/packages/page-bounties/src/BountyCreate.tsx +++ b/packages/page-bounties/src/BountyCreate.tsx @@ -47,33 +47,55 @@ function BountyCreate () { header={t('Add Bounty')} > - ('The description of this bounty')} - label={t('bounty title')} - onChange={onTitleChange} - value={title} - /> - ('The total payment amount of this bounty, curators fee included.')} - isZeroable - label={t('bounty requested allocation')} - onChange={setAmount} - value={ amount } - /> - ('This amount will be reserved from origin account and returned on approval or slashed upon rejection.')} - isDisabled - label={t('bounty bond')} - /> - ('Select the account you wish to propose the bounty from.')} - label={t('submit with account')} - onChange={setAccountId} - type='account' - withLabel - /> + + + ('The description of this bounty')} + label={t('bounty title')} + onChange={onTitleChange} + value={title} + /> + + + + + ('The total payment amount of this bounty, curators fee included.')} + isZeroable + label={t('bounty requested allocation')} + onChange={setAmount} + value={amount} + /> + + + + + ('This amount will be reserved from origin account and returned on approval or slashed upon rejection.')} + isDisabled + label={t('bounty bond')} + /> + + +

{t('Bond is estimated based on bountyDepositBase and dataDepositPerByte constants.')}

+
+
+ + + ('Select the account you wish to propose the bounty from.')} + label={t('submit with account')} + onChange={setAccountId} + type='account' + withLabel + /> + + +

{t('Use this account to propose bounty from. This can be a normal or council account.')}

+
+