mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 16:24:43 +03:00
Move link to profile to operator's name in the top right corner
Fixes #93
This commit is contained in:
parent
fb83027a1e
commit
31d602986e
@ -31,7 +31,15 @@
|
||||
</div>
|
||||
|
||||
{{#if operator}}
|
||||
<div id="path"><p>{{l10n "You are {0}" operator}}</p></div>
|
||||
<div id="path">
|
||||
<p>
|
||||
{{#if currentopid}}
|
||||
{{{l10n "You are <a href=\"{0}\">{1}</a>" (route "operator_edit" operator_id=currentopid) operator}}}
|
||||
{{else}}
|
||||
{{{l10n "You are <a href=\"{0}\">{1}</a>" "#" operator}}}
|
||||
{{/if}}
|
||||
</p>
|
||||
</div>
|
||||
{{else}}
|
||||
{{#if show_small_login}}
|
||||
<div id="login-small-pane">
|
||||
|
@ -38,9 +38,6 @@
|
||||
<li{{#ifEqual menuid "mail_templates"}} class="active"{{/ifEqual}}><a href="{{route "mail_templates"}}">{{l10n "Mail templates"}}</a></li>
|
||||
<li{{#ifEqual menuid "about"}} class="active"{{/ifEqual}}><a href="{{route "about"}}">{{l10n "About"}}</a></li>
|
||||
{{/if}}
|
||||
{{#if currentopid}}
|
||||
<li{{#ifEqual menuid "profile"}} class="active"{{/ifEqual}}><a href="{{route "operator_edit" operator_id=currentopid}}">{{l10n "Profile"}}</a></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
|
Loading…
Reference in New Issue
Block a user