From 292608b351c61acb4ac0d596b444374545241b98 Mon Sep 17 00:00:00 2001 From: Roman Storm Date: Fri, 18 Dec 2020 10:40:58 -0800 Subject: [PATCH] finalize --- langs/en.json | 3 ++- pages/index.vue | 8 ++++++-- store/steps.js | 5 ++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/langs/en.json b/langs/en.json index 35b5386..6ba02dd 100644 --- a/langs/en.json +++ b/langs/en.json @@ -25,5 +25,6 @@ "sendingTransaction": "Sending transaction", "viewOnEtherscan": "View on Etherscan", "pleaseConnectWallet": "Please connect your wallet first", - "dependsOnEns": "This action depends on {ens}" + "dependsOnEns": "This action depends on {ens}", + "thankYou": "The governance has been initiated. All contracts are deployed. Thank you for your participation." } diff --git a/pages/index.vue b/pages/index.vue index c0a89e2..0b3e57a 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -3,10 +3,14 @@

Tornado.cash Governance Initiation

-

{{ $t('pageSubtitle') }}

+

+ {{ $t('pageSubtitle') }} +

+

{{ $t('thankYou') }}

diff --git a/store/steps.js b/store/steps.js index 9f2f14e..d33ef00 100644 --- a/store/steps.js +++ b/store/steps.js @@ -11,7 +11,10 @@ const getters = { deployedCount: (state) => { const deployed = state.steps.filter((step) => !!step.deployerAddress).length const all = state.steps.length - return `${deployed}/${all}` + return { + text: `${deployed}/${all}`, + isCompleted: deployed === all, + } }, canDeploy: (state) => (domain) => { const { dependsOn } = state.steps.find((s) => s.domain === domain)