From 7673f197139ef7ab69d3936c21442b20fe87256c Mon Sep 17 00:00:00 2001 From: Stas Leshchina <66851165+Sorizen@users.noreply.github.com> Date: Wed, 4 Sep 2024 17:50:52 +0300 Subject: [PATCH] Feature/dashboard button (#90) * contract details logic * add whole contract details * fixes after review * add mixins for contract info pages * dashboard links --- src/localization/resources/en.json | 5 ++- src/pages/Mor20Ecosystem/MainPage.vue | 52 +++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/src/localization/resources/en.json b/src/localization/resources/en.json index 303cf73..b61c182 100644 --- a/src/localization/resources/en.json +++ b/src/localization/resources/en.json @@ -181,7 +181,10 @@ "title": "L2 Token Receiver V2", "description": "A contract that receives tokens from the L1Sender contract and used for Uniswap market making with extended functionality." } - } + }, + "copy-button": "Copy Dashboard Link", + "copied-text": "Copied!", + "dashboard-button": "Contract Dashboard" }, "protocol-creation-page": { "distribution-address-label": "Distribution address", diff --git a/src/pages/Mor20Ecosystem/MainPage.vue b/src/pages/Mor20Ecosystem/MainPage.vue index 487b09c..c0de981 100644 --- a/src/pages/Mor20Ecosystem/MainPage.vue +++ b/src/pages/Mor20Ecosystem/MainPage.vue @@ -7,6 +7,22 @@

{{ protocol?.name || $t(`${I18N_KEY_PREFIX}.title`) }}

+