From 8316bad1083be87e09cd145ae7f7210aa65c6bab Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Thu, 23 Feb 2023 15:01:17 +0530 Subject: [PATCH] user_profile: Show icons for external account fields in full modal. Previously, we showed the icons for "Twitter" and "Github" type external account custom profile fields in the user-info popover. This commit changes the code to show the icons in full profile modal as well. --- static/templates/user_custom_profile_fields.hbs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/static/templates/user_custom_profile_fields.hbs b/static/templates/user_custom_profile_fields.hbs index 051351bd91..ec563f4556 100644 --- a/static/templates/user_custom_profile_fields.hbs +++ b/static/templates/user_custom_profile_fields.hbs @@ -7,12 +7,10 @@ {{this.value}} {{else if this.is_external_account}} - {{#if ../for_user_info_popover}} - {{#if (eq this.subtype "github") }} - - {{else if (eq this.subtype "twitter") }} - - {{/if}} + {{#if (eq this.subtype "github") }} + + {{else if (eq this.subtype "twitter") }} + {{/if}} {{this.value}}