From 4356288497ca09dc021881e717ccc1be61387a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Thu, 19 Jan 2023 13:37:04 +0800 Subject: [PATCH] Rename signup route, address property --- app/components/add-contributor/template.hbs | 2 +- .../signup/{eth-account.js => account.js} | 10 +++---- app/router.js | 2 +- .../signup/{eth-account.js => account.js} | 0 app/routes/signup/github.js | 2 +- app/templates/signup/account.hbs | 29 +++++++++++++++++++ app/templates/signup/eth-account.hbs | 24 --------------- .../{eth-account-test.js => account-test.js} | 4 +-- 8 files changed, 39 insertions(+), 34 deletions(-) rename app/controllers/signup/{eth-account.js => account.js} (83%) rename app/routes/signup/{eth-account.js => account.js} (100%) create mode 100644 app/templates/signup/account.hbs delete mode 100644 app/templates/signup/eth-account.hbs rename tests/unit/routes/signup/{eth-account-test.js => account-test.js} (57%) diff --git a/app/components/add-contributor/template.hbs b/app/components/add-contributor/template.hbs index 8478db6..c221fc6 100644 --- a/app/components/add-contributor/template.hbs +++ b/app/components/add-contributor/template.hbs @@ -1,6 +1,6 @@

- + +

Complete your contributor profile

+ +
+

+ Kredits allow you to to earn rewards for your contributions, in the form of + dynamic open-source grants. As a regular contributor, you can also take + part in the community's project governance and finances. +

+

+ In order to interact with the system you will need a Rootstock wallet/account. +

+ +

+ +

+ +

+ +

+
\ No newline at end of file diff --git a/app/templates/signup/eth-account.hbs b/app/templates/signup/eth-account.hbs deleted file mode 100644 index 4c232e0..0000000 --- a/app/templates/signup/eth-account.hbs +++ /dev/null @@ -1,24 +0,0 @@ -
-

Complete your contributor profile

-
-
-

- Kredits allow you to take part in project governance, and to earn rewards for - your contributions. For both, you will need an Ethereum wallet/account. -

-
-

- -

-
-

- -

-
\ No newline at end of file diff --git a/tests/unit/routes/signup/eth-account-test.js b/tests/unit/routes/signup/account-test.js similarity index 57% rename from tests/unit/routes/signup/eth-account-test.js rename to tests/unit/routes/signup/account-test.js index 4c4f714..0c0adb6 100644 --- a/tests/unit/routes/signup/eth-account-test.js +++ b/tests/unit/routes/signup/account-test.js @@ -1,11 +1,11 @@ import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; -module('Unit | Route | signup/eth-account', function(hooks) { +module('Unit | Route | signup/account', function(hooks) { setupTest(hooks); test('it exists', function(assert) { - let route = this.owner.lookup('route:signup/eth-account'); + let route = this.owner.lookup('route:signup/account'); assert.ok(route); }); });