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}}