mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 19:46:55 +08:00
UX: Fix button syntax in preferences (#28074)
* UX: Fix button syntax in preferences * linting
This commit is contained in:
parent
5958ad89f2
commit
f169985fce
|
@ -94,13 +94,15 @@
|
|||
<a href {{on "click" this.toggleShowAllAuthTokens}}>
|
||||
{{#if this.showAllAuthTokens}}
|
||||
{{d-icon "caret-up"}}
|
||||
{{i18n "user.auth_tokens.show_few"}}
|
||||
<span>{{i18n "user.auth_tokens.show_few"}}</span>
|
||||
{{else}}
|
||||
{{d-icon "caret-down"}}
|
||||
<span>
|
||||
{{i18n
|
||||
"user.auth_tokens.show_all"
|
||||
count=this.model.user_auth_tokens.length
|
||||
}}
|
||||
</span>
|
||||
{{/if}}
|
||||
</a>
|
||||
{{/if}}
|
||||
|
@ -109,7 +111,12 @@
|
|||
href
|
||||
{{on "click" (fn this.revokeAuthToken null)}}
|
||||
class="pull-right text-danger"
|
||||
>{{d-icon "sign-out-alt"}} {{i18n "user.auth_tokens.log_out_all"}}</a>
|
||||
>
|
||||
{{d-icon "sign-out-alt"}}
|
||||
<span>
|
||||
{{i18n "user.auth_tokens.log_out_all"}}
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user