mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 03:10:46 -06:00
Merge pull request #347 from ZogStriP/put-a-gear-button-on-it
added the gear icon to the "Admin" button on the user page
This commit is contained in:
commit
40f5b9170d
@ -7,7 +7,7 @@
|
||||
<button {{action "logout" target="Discourse"}} class='btn'>{{i18n user.log_out}}</button>
|
||||
{{/if}}
|
||||
{{#if Discourse.currentUser.admin}}
|
||||
<a href="/admin/users/{{unbound content.username_lower}}" class='btn'>{{i18n admin.user.show_admin_profile}}</a>
|
||||
<a href="/admin/users/{{unbound content.username_lower}}" class='btn'><i class="icon-cog"></i> {{i18n admin.user.show_admin_profile}}</a>
|
||||
{{/if}}
|
||||
<ul class="nav nav-pills">
|
||||
<li>
|
||||
|
Loading…
Reference in New Issue
Block a user