only show link for current user

This commit is contained in:
Rimian Perkins 2017-03-06 15:37:22 +11:00
parent a9e687383b
commit 367a1e91e2
1 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
<a href="/user/{{currentUser.username}}/payments">
{{#if currentUser.username}}
<a href="/user/{{currentUser.username}}/payments">
{{i18n 'discourse_donations.title'}}
</a>
</a>
{{/if}}