mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
popovers: Refactor user popover to match visual order.
Just swapping an "if is_me" block with a consecutive "unless is_me" block, so should be no change in logic.
This commit is contained in:
@@ -90,13 +90,6 @@
|
|||||||
</li>
|
</li>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if is_me}}
|
|
||||||
<li>
|
|
||||||
<a href="/#settings/your-account">
|
|
||||||
<i class="fa fa-edit" aria-hidden="true"></i> {{#tr this}}Edit your profile{{/tr}}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{{/if}}
|
|
||||||
{{#unless is_me}}
|
{{#unless is_me}}
|
||||||
<li>
|
<li>
|
||||||
<a href="#" class="mention_user">
|
<a href="#" class="mention_user">
|
||||||
@@ -104,6 +97,13 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
{{#if is_me}}
|
||||||
|
<li>
|
||||||
|
<a href="/#settings/your-account">
|
||||||
|
<i class="fa fa-edit" aria-hidden="true"></i> {{#tr this}}Edit your profile{{/tr}}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
||||||
<hr />
|
<hr />
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ pm_with_uri }}" class="narrow_to_private_messages">
|
<a href="{{ pm_with_uri }}" class="narrow_to_private_messages">
|
||||||
|
|||||||
Reference in New Issue
Block a user