From e571df6371fd3f9520ce2e0db5f5cfb431ac6553 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 9 May 2020 09:28:47 +0200 Subject: [PATCH] Adjust all council modals with columns (#2714) --- .../src/Motions/ProposeExternal.tsx | 45 ++++++++---- .../src/Motions/ProposeMotion.tsx | 70 +++++++++++++------ .../page-council/src/Motions/Slashing.tsx | 65 ++++++++++------- packages/page-council/src/Motions/Voting.tsx | 47 +++++++++---- 4 files changed, 151 insertions(+), 76 deletions(-) diff --git a/packages/page-council/src/Motions/ProposeExternal.tsx b/packages/page-council/src/Motions/ProposeExternal.tsx index 7e4d4f179c..5b95699268 100644 --- a/packages/page-council/src/Motions/ProposeExternal.tsx +++ b/packages/page-council/src/Motions/ProposeExternal.tsx @@ -51,23 +51,38 @@ function ProposeExternal ({ className, isMember, members }: Props): React.ReactE - - + + + + + +

{t('The council account for the proposal. The selection is filtered by the current members.')}

+
+
+ + + + + +

{t('The hash of the proposal image, either already submitted or valid for the specific call.')}

+
+
{ onClick={toggleOpen} /> {isOpen && ( - + - - - + + + + + +

{t('The council account for the proposal. The selection is filtered by the current members.')}

+
+
+ + + + + +

{t('The desired threshold. Here set to a default of 50%+1, as applicable for general proposals.')}

+
+
+ + + + + +

{t('The actual proposal to make, based on the selected call and parameters thereof.')}

+
+
- - {eras.length - ? ( - + + - ) - : ( - - ) - } + + +

{t('The council account for the proposal. The selection is filtered by the current members.')}

+
+ + + + {eras.length + ? ( + + ) + : ( + + ) + } + + +

{t('The specific eras on which there are unapplied slashes. For each era a separate proposal is to be made.')}

+
+
- - - + + + + + +

{t('The proposal that is being voted on. It will pass when the threshold is reached.')}

+
+
+ + + + + +

{t('The council account for this vote. The selection is filtered by the current members.')}

+
+
+ + + + + +

{t('The vote to record for this proposal, either for or against.')}

+
+
{isPrime && (
{t('You are voting with this collective\'s prime account. The vote will be the default outcome in case of any abstentions.')}