From d17fb622c9c05dc9a5d4ce8546ab936c943db65a Mon Sep 17 00:00:00 2001 From: Rishi Gupta Date: Wed, 6 Mar 2019 19:49:45 -0800 Subject: [PATCH] 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. --- .../templates/user_info_popover_content.handlebars | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/static/templates/user_info_popover_content.handlebars b/static/templates/user_info_popover_content.handlebars index 011579cd8d..ec4805c816 100644 --- a/static/templates/user_info_popover_content.handlebars +++ b/static/templates/user_info_popover_content.handlebars @@ -90,13 +90,6 @@ {{/unless}} {{/if}} - {{#if is_me}} -
  • - - {{#tr this}}Edit your profile{{/tr}} - -
  • - {{/if}} {{#unless is_me}}
  • @@ -104,6 +97,13 @@
  • {{/unless}} + {{#if is_me}} +
  • + + {{#tr this}}Edit your profile{{/tr}} + +
  • + {{/if}}