diff --git a/app/components/add-contribution/template.hbs b/app/components/add-contribution/template.hbs
index 2174967..05fd22e 100644
--- a/app/components/add-contribution/template.hbs
+++ b/app/components/add-contribution/template.hbs
@@ -1,11 +1,11 @@
-
diff --git a/app/components/add-contributor/template.hbs b/app/components/add-contributor/template.hbs
index 8eceeee..fc7c22e 100644
--- a/app/components/add-contributor/template.hbs
+++ b/app/components/add-contributor/template.hbs
@@ -1,55 +1,55 @@
-
diff --git a/app/components/chart-contributions-by-type/template.hbs b/app/components/chart-contributions-by-type/template.hbs
index 56f2b44..da4906f 100644
--- a/app/components/chart-contributions-by-type/template.hbs
+++ b/app/components/chart-contributions-by-type/template.hbs
@@ -1,7 +1,6 @@
- {{ember-chart type="doughnut"
- data=chartData
- options=chartOptions
- width=200
- height=200}}
+
\ No newline at end of file
diff --git a/app/components/contribution-list/template.hbs b/app/components/contribution-list/template.hbs
index 49419cb..f3f4dd8 100644
--- a/app/components/contribution-list/template.hbs
+++ b/app/components/contribution-list/template.hbs
@@ -1,28 +1,28 @@
-{{#if showQuickFilter}}
+{{#if @showQuickFilter}}
Contributor:
-
+
all
- {{#each contributorsActive as |contributor|}}
- {{contributor.name}}
+ {{#each this.contributorsActive as |contributor|}}
+ {{contributor.name}}
{{/each}}
Kind:
-
+
all
- {{#each contributionKinds as |kind|}}
- {{capitalize-string kind}}
+ {{#each this.contributionKinds as |kind|}}
+ {{capitalize-string kind}}
{{/each}}
- {{input type="checkbox" checked=hideSmallContributions}}
+
Hide small contributions
@@ -30,12 +30,12 @@
{{/if}}
- {{#each contributionsFiltered as |contribution|}}
-
+ {{#each this.contributionsFiltered as |contribution|}}
+
- {{user-avatar contributor=contribution.contributor}}
+
({{contribution.kind}})
{{contribution.description}}
@@ -45,10 +45,9 @@
{{#unless contribution.vetoed}}
{{#unless (is-confirmed-contribution contribution)}}
- {{input type="button" class="button small danger"
- click=(action "veto" contribution.id)
- disabled=contribution.hasPendingChanges
- value="veto"}}
+
{{/unless}}
{{/unless}}
diff --git a/app/components/contributor-list/template.hbs b/app/components/contributor-list/template.hbs
index dfeecd5..95ec449 100644
--- a/app/components/contributor-list/template.hbs
+++ b/app/components/contributor-list/template.hbs
@@ -1,13 +1,14 @@
- {{#each contributorList as |c|}}
-
+ {{#each @contributorList as |c|}}
+
- {{user-avatar contributor=c.contributor}} {{c.contributor.name}}
+ {{c.contributor.name}}
- {{#if showUnconfirmedKredits}}
+ {{#if @showUnconfirmedKredits}}
{{c.amountTotal}}
{{else}}
{{c.amountConfirmed}}
diff --git a/app/components/external-account-link/template.hbs b/app/components/external-account-link/template.hbs
index 3371c9d..e63156f 100644
--- a/app/components/external-account-link/template.hbs
+++ b/app/components/external-account-link/template.hbs
@@ -1,4 +1,4 @@
-
- {{account.site}}
- {{component iconComponentName}}
+
+ {{this.account.site}}
+ {{component this.iconComponentName}}
\ No newline at end of file
diff --git a/app/components/topbar-account-panel/template.hbs b/app/components/topbar-account-panel/template.hbs
index 35e802c..f4d8d28 100644
--- a/app/components/topbar-account-panel/template.hbs
+++ b/app/components/topbar-account-panel/template.hbs
@@ -1,17 +1,17 @@
- {{#if setupInProgress}}
+ {{#if this.setupInProgress}}
Connecting account...
{{else}}
- {{#if (and kredits.hasAccounts kredits.currentUser)}}
- {{kredits.currentUser.name}}
- {{#if kredits.currentUserIsCore}}
+ {{#if (and this.kredits.hasAccounts this.kredits.currentUser)}}
+ {{this.kredits.currentUser.name}}
+ {{#if this.kredits.currentUserIsCore}}
(core)
{{/if}}
{{else}}
Anonymous
- Sign up
- {{#if showConnectButton}}
- Connect account
+ Sign up
+ {{#if this.showConnectButton}}
+ Connect account
{{/if}}
{{/if}}
{{/if}}
diff --git a/app/templates/contributions/new.hbs b/app/templates/contributions/new.hbs
index cbcf910..e0ecce3 100644
--- a/app/templates/contributions/new.hbs
+++ b/app/templates/contributions/new.hbs
@@ -6,7 +6,9 @@
diff --git a/app/templates/contributions/resubmit.hbs b/app/templates/contributions/resubmit.hbs
index bd48439..1eb365d 100644
--- a/app/templates/contributions/resubmit.hbs
+++ b/app/templates/contributions/resubmit.hbs
@@ -2,11 +2,13 @@
- Re-submit contribution #{{model.id}}
+ Re-submit contribution #{{this.model.id}}
diff --git a/app/templates/contributors/edit.hbs b/app/templates/contributors/edit.hbs
index efbe7a8..c840748 100644
--- a/app/templates/contributors/edit.hbs
+++ b/app/templates/contributors/edit.hbs
@@ -6,7 +6,7 @@
diff --git a/app/templates/dashboard.hbs b/app/templates/dashboard.hbs
index af98894..31d27ec 100644
--- a/app/templates/dashboard.hbs
+++ b/app/templates/dashboard.hbs
@@ -1,40 +1,43 @@
-{{#if showIntroText}}
-
+{{#if this.showIntroText}}
+
Welcome to the contribution dashboard of the
- Kosmos project!
+ Kosmos project!
If you want to learn more about what the numbers mean and how this works,
check out the
- Kredits documentation .
+ Kredits documentation .
If you want to start earning kredits for your contributions,
create a contributor profile .
{{/if}}
-
+
Contributors
- {{#if kredits.hasAccounts}}
+ {{#if this.kredits.hasAccounts}}
add
{{/if}}
@@ -45,26 +48,36 @@
Contributions by type
-
+
- {{#if contributionsUnconfirmed}}
+ {{#if this.contributionsUnconfirmed}}
Latest Contributions
- filter
- {{#if kredits.hasAccounts}}
- add
+
+ filter
+
+ {{#if this.kredits.hasAccounts}}
+ add
{{/if}}
{{!-- TODO: We need a better naming for kredits.hasAccounts --}}
-
+
{{/if}}
@@ -73,11 +86,18 @@
Confirmed Contributions
- filter
+
+ filter
+
-
+
diff --git a/app/templates/dashboard/contributions/show.hbs b/app/templates/dashboard/contributions/show.hbs
index ff22086..a447c1e 100644
--- a/app/templates/dashboard/contributions/show.hbs
+++ b/app/templates/dashboard/contributions/show.hbs
@@ -1,8 +1,8 @@
-
+
- Contribution #{{model.id}}
+ Contribution #{{this.model.id}}
- {{model.amount}}
+ {{this.model.amount}}
₭S
@@ -10,29 +10,29 @@
-
- {{model.contributor.name}}
+
+ {{this.model.contributor.name}}
contributed
- {{moment-from model.iso8601Date}} :
+ {{moment-from this.model.iso8601Date}} :
-
{{model.description}}
+
{{this.model.description}}
- Kind: {{model.kind}}
- Status: {{contribution-status model}}
+ Kind: {{this.model.kind}}
+ Status: {{contribution-status this.model}}
- {{#if model.url}}
+ {{#if this.model.url}}
-
+ rel="noopener noreferrer">
Open URL
{{/if}}
- {{#if model.vetoed}}
+ {{#if this.model.vetoed}}
@@ -42,7 +42,7 @@
kredits will be issued.
- Re-submit contribution …
+ Re-submit contribution …
{{/if}}
@@ -50,10 +50,10 @@
- Copy & edit as new
- {{#if model.ipfsHash}}
-
+ Copy & edit as new
+ {{#if this.model.ipfsHash}}
+
Inspect IPFS data
{{/if}}
diff --git a/app/templates/dashboard/contributors/show.hbs b/app/templates/dashboard/contributors/show.hbs
index e8978f4..241de86 100644
--- a/app/templates/dashboard/contributors/show.hbs
+++ b/app/templates/dashboard/contributors/show.hbs
@@ -1,21 +1,21 @@
-
{{model.name}}
-
{{roleName}}
+
{{this.model.name}}
+
{{this.roleName}}
- {{#each model.accounts as |account|}}
+ {{#each this.model.accounts as |account|}}
-
+
{{/each}}
- {{#if model.url}}
+ {{#if this.model.url}}
-
+
Web
@@ -24,18 +24,18 @@
- ♥ Give kredits
+ ♥ Give kredits
diff --git a/app/templates/signup/eth-account.hbs b/app/templates/signup/eth-account.hbs
index 6c3f513..7f100e9 100644
--- a/app/templates/signup/eth-account.hbs
+++ b/app/templates/signup/eth-account.hbs
@@ -6,17 +6,18 @@
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.
-
-
+
Complete my profile
diff --git a/app/templates/signup/index.hbs b/app/templates/signup/index.hbs
index 1146f59..036384d 100644
--- a/app/templates/signup/index.hbs
+++ b/app/templates/signup/index.hbs
@@ -12,7 +12,7 @@
connecting one of the following accounts:
-
+
Connect GitHub