73 lines
1.9 KiB
Handlebars
73 lines
1.9 KiB
Handlebars
{{#if kredits.hasAccounts }}
|
|
<section id="user-account">
|
|
{{#if kredits.currentUser }}
|
|
{{ kredits.currentUser.name }}
|
|
{{#if kredits.currentUserIsCore }}
|
|
(core)
|
|
{{/if}}
|
|
Account: {{kredits.currentUser.address}}
|
|
{{/if}}
|
|
</section>
|
|
{{/if}}
|
|
|
|
<section id="contributors">
|
|
<header>
|
|
<h2>Kosmos Contributors</h2>
|
|
</header>
|
|
<div class="content">
|
|
{{contributor-list contributors=contributorsSorted}}
|
|
|
|
<p class="stats">
|
|
<span class="number">{{model.totalSupply}}</span> kredits issued and distributed among
|
|
<span class="number">{{contributorsWithKredits.length}}</span> contributors.
|
|
</p>
|
|
</div>
|
|
</section>
|
|
|
|
{{#if proposalsOpen}}
|
|
<section id="proposals-open">
|
|
<header>
|
|
<h2>Open Proposals</h2>
|
|
</header>
|
|
<div class="content">
|
|
{{proposal-list proposals=proposalsOpenSorted
|
|
confirmAction="confirmProposal"
|
|
contractInteractionEnabled=contractInteractionEnabled}}
|
|
|
|
{{#if contractInteractionEnabled}}
|
|
<p class="actions">
|
|
{{#link-to 'proposals.new'}}Create new proposal{{/link-to}}
|
|
</p>
|
|
{{/if}}
|
|
</div>
|
|
</section>
|
|
{{/if}}
|
|
|
|
<section id="proposals-closed">
|
|
<header>
|
|
<h2>Closed Proposals</h2>
|
|
</header>
|
|
<div class="content">
|
|
{{proposal-list proposals=proposalsClosedSorted
|
|
confirmAction="confirmProposal"}}
|
|
|
|
{{#if contractInteractionEnabled}}
|
|
<p class="actions">
|
|
{{#link-to 'proposals.new'}}Create new proposal{{/link-to}}
|
|
</p>
|
|
{{/if}}
|
|
</div>
|
|
</section>
|
|
|
|
<section id="add-contributor">
|
|
<header>
|
|
<h2>Add Contributor</h2>
|
|
</header>
|
|
|
|
<div class="content">
|
|
{{add-contributor contributors=model.contributors
|
|
newContributor=model.newContributor
|
|
contractInteractionEnabled=contractInteractionEnabled}}
|
|
</div>
|
|
</section>
|