only show link for current user
This commit is contained in:
parent
a9e687383b
commit
367a1e91e2
|
@ -1,3 +1,5 @@
|
|||
<a href="/user/{{currentUser.username}}/payments">
|
||||
{{i18n 'discourse_donations.title'}}
|
||||
</a>
|
||||
{{#if currentUser.username}}
|
||||
<a href="/user/{{currentUser.username}}/payments">
|
||||
{{i18n 'discourse_donations.title'}}
|
||||
</a>
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue