Files
kredits-web/app/components/proposal-list/template.hbs
T
basti c98a50cd42 Fix mobile layout
Unfortunately also breaks the animation when opening contributor
details for now. Couldn't get it to work again.
2017-06-07 11:11:01 +02:00

11 lines
478 B
Handlebars

{{#each proposals as |proposal|}}
<li>
<span class="id">#{{proposal.id}}</span>
<span class="amount">{{proposal.amount}}</span><span class="symbol">₭S</span>
for <span class="recipient" title="{{proposal.recipientAddress}}">{{proposal.recipientName}}</span>
<span class="votes">({{proposal.votesCount}}/{{proposal.votesNeeded}} votes)</span>
{{#unless proposal.executed}}<button {{action "confirm" proposal.id}}>+1</button>{{/unless}}
</li>
{{/each}}