From d9d76ec92fdd3921f2d66d60d7059edb3d1d80f6 Mon Sep 17 00:00:00 2001 From: Lakshay Manchanda <45519620+lakshayman@users.noreply.github.com> Date: Tue, 6 Feb 2024 18:57:00 +0530 Subject: [PATCH] Revert "Removed the feature flag from identity page (#551)" This reverts commit fe497aee425321e36141a1261d2533175b7cfc69. --- app/controllers/identity.js | 7 ++ app/templates/identity.hbs | 173 ++++++++++++++++++++++++++++-------- 2 files changed, 142 insertions(+), 38 deletions(-) diff --git a/app/controllers/identity.js b/app/controllers/identity.js index 4497d190..7af80206 100644 --- a/app/controllers/identity.js +++ b/app/controllers/identity.js @@ -37,6 +37,13 @@ export default class IdentityController extends Controller { return 'getStarted'; } + get isDev() { + if (this.router.currentRoute) { + return this.router.currentRoute.queryParams.dev; + } + return false; + } + @tracked state = this.intialState; @action setState(value) { diff --git a/app/templates/identity.hbs b/app/templates/identity.hbs index 4167f53c..2a6e1883 100644 --- a/app/templates/identity.hbs +++ b/app/templates/identity.hbs @@ -1,43 +1,140 @@ {{page-title 'Identity'}} -
Verification process is Pending!
+ + {{else if (eq @model.profileStatus 'VERIFIED')}} +Verification Done!
+ {{else}} + {{#if (eq @model.profileStatus 'BLOCKED')}} +Your previous chaincode is blocked for some reason. Please generate a + new chaincode.
+ {{/if}} +