diff --git a/app/controllers/identity.js b/app/controllers/identity.js index 7af80206..4497d190 100644 --- a/app/controllers/identity.js +++ b/app/controllers/identity.js @@ -37,13 +37,6 @@ 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 2a6e1883..4167f53c 100644 --- a/app/templates/identity.hbs +++ b/app/templates/identity.hbs @@ -1,140 +1,43 @@ {{page-title 'Identity'}} -{{#if this.isDev}} -
- header - hero - +
+ header + hero + + {{#if (eq this.state 'getStarted')}} +
Connect your Profile Service with Identity + Service
+ {{/if}} +
{{#if (eq this.state 'getStarted')}} -
Connect your Profile Service with Identity - Service
+ + {{else if (eq this.state 'step1')}} + + {{else if (eq this.state 'step2')}} + + {{else if (eq this.state 'step3')}} + + {{else if (eq this.state 'reload')}} + + {{else if (eq this.state 'verified')}} + + {{else if (eq this.state 'blocked')}} + {{/if}} -
- {{#if (eq this.state 'getStarted')}} - - {{else if (eq this.state 'step1')}} - - {{else if (eq this.state 'step2')}} - - {{else if (eq this.state 'step3')}} - - {{else if (eq this.state 'reload')}} - - {{else if (eq this.state 'verified')}} - - {{else if (eq this.state 'blocked')}} - - {{/if}} -
- header-hero - footer
-{{else}} -

- Identity Service Verification -

-
- {{#if (eq @model.profileStatus 'PENDING')}} -

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}} -
- -
- -
-
- - -
-
- -
-
- - - -

{{this.identityError}}

- {{/if}} -
-{{/if}} \ No newline at end of file + header-hero + footer +
\ No newline at end of file