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:
Neil Lalonde 2013-03-04 06:27:37 -08:00
commit 40f5b9170d
1 changed files with 7 additions and 7 deletions

View File

@ -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>&nbsp;{{i18n admin.user.show_admin_profile}}</a>
{{/if}}
<ul class="nav nav-pills">
<li>