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
|
@ -4,23 +4,23 @@
|
||||||
<h1>{{content.name}}<span>{{unbound content.username}}</span></h1>
|
<h1>{{content.name}}<span>{{unbound content.username}}</span></h1>
|
||||||
|
|
||||||
{{#if viewingSelf}}
|
{{#if viewingSelf}}
|
||||||
<button {{action "logout" target="Discourse"}} class='btn'>{{i18n user.log_out}}</button>
|
<button {{action "logout" target="Discourse"}} class='btn'>{{i18n user.log_out}}</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if Discourse.currentUser.admin}}
|
{{#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}}
|
{{/if}}
|
||||||
<ul class="nav nav-pills">
|
<ul class="nav nav-pills">
|
||||||
<li>
|
<li>
|
||||||
{{#linkTo 'user.activity'}}{{i18n user.activity_stream}}{{/linkTo}}
|
{{#linkTo 'user.activity'}}{{i18n user.activity_stream}}{{/linkTo}}
|
||||||
</li>
|
</li>
|
||||||
{{#if controller.canSeePrivateMessages}}
|
{{#if controller.canSeePrivateMessages}}
|
||||||
<li>
|
<li>
|
||||||
{{#linkTo "user.privateMessages"}}{{i18n user.private_messages}}{{/linkTo}}
|
{{#linkTo "user.privateMessages"}}{{i18n user.private_messages}}{{/linkTo}}
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<li>
|
<li>
|
||||||
{{#linkTo 'user.invited'}}{{i18n user.invited.title}}{{/linkTo}}
|
{{#linkTo 'user.invited'}}{{i18n user.invited.title}}{{/linkTo}}
|
||||||
</li>
|
</li>
|
||||||
{{#if content.can_edit}}
|
{{#if content.can_edit}}
|
||||||
<li>
|
<li>
|
||||||
{{#linkTo 'preferences'}}{{i18n user.preferences}}{{/linkTo}}
|
{{#linkTo 'preferences'}}{{i18n user.preferences}}{{/linkTo}}
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class='user-info clearfix'>
|
<div class='user-info clearfix'>
|
||||||
<div class='about-me'>
|
<div class='about-me'>
|
||||||
{{{content.bio_excerpt}}}
|
{{{content.bio_excerpt}}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue