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:
Rishi Gupta
2019-03-06 19:49:45 -08:00
committed by Tim Abbott
parent 36ff56e741
commit d17fb622c9

View File

@@ -90,13 +90,6 @@
</li>
{{/unless}}
{{/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}}
<li>
<a href="#" class="mention_user">
@@ -104,6 +97,13 @@
</a>
</li>
{{/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 />
<li>
<a href="{{ pm_with_uri }}" class="narrow_to_private_messages">