6a176b5904
When the user brings Ethereum accounts, but none of them is known as contributor, instead of "Anonymous" it just shows nothing. This fixes the if condition in the template to eliminate the faulty case.
10 lines
256 B
Handlebars
10 lines
256 B
Handlebars
<section id="user-account">
|
|
{{#if (and kredits.hasAccounts kredits.currentUser)}}
|
|
{{kredits.currentUser.name}}
|
|
{{#if kredits.currentUserIsCore}}
|
|
<span class="core-flag">(core)</span>
|
|
{{/if}}
|
|
{{else}}
|
|
Anonymous
|
|
{{/if}}
|
|
</section> |