3c73ddd443
This allows us to add them anywhere in the app, and also to add more features, like e.g. hover info boxes, links, and so on.
27 lines
1.0 KiB
Handlebars
27 lines
1.0 KiB
Handlebars
<tbody>
|
|
{{#each contributors as |contributor|}}
|
|
<tr role="button" class={{if (is-current-user contributor) "current-user"}} {{action "toggleContributorInfo" contributor}}>
|
|
<td class="person">
|
|
{{user-avatar contributor=contributor}} {{contributor.name}}
|
|
</td>
|
|
<td class="kredits">
|
|
<span class="amount">{{contributor.totalKreditsEarned}}</span>
|
|
<span class="symbol">₭S</span>
|
|
</td>
|
|
</tr>
|
|
<tr class="metadata {{if (is-current-user contributor) "current-user"}} {{if contributor.showMetadata "visible"}}">
|
|
<td colspan="2">
|
|
<ul>
|
|
<li><a href="https://testnet.etherscan.io/address/{{contributor.account}}">Inspect Ethereum transactions</a></li>
|
|
{{#if contributor.ipfsHash}}
|
|
<li><a href="https://ipfs.io/ipfs/{{contributor.ipfsHash}}">Inspect IPFS profile</a></li>
|
|
{{/if}}
|
|
</ul>
|
|
{{#if contributor.showMetadata}}
|
|
<pre>{{contributor.ipfsData}}</pre>
|
|
{{/if}}
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|