Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

user_profile: Show icons for external account fields in full modal.

Sahil Batra8316bad1083b
diff --git a/static/templates/user_custom_profile_fields.hbs b/static/templates/user_custom_profile_fields.hbs
index 051351bd91f..ec563f45566 100644
--- a/static/templates/user_custom_profile_fields.hbs
+++ b/static/templates/user_custom_profile_fields.hbs
@@ -7,12 +7,10 @@
<a tabindex="0" href="{{this.value}}" target="_blank" rel="noopener noreferrer" class="value custom_profile_fields_link {{#if ../for_user_info_popover}}tippy-zulip-tooltip{{/if}}" data-tippy-content="{{this.name}}">{{this.value}}</a>
{{else if this.is_external_account}}
<a tabindex="0" href="{{this.link}}" target="_blank" rel="noopener noreferrer" class="value custom_profile_fields_link {{#if ../for_user_info_popover}}tippy-zulip-tooltip{{/if}}" data-tippy-content="{{this.name}}">
- {{#if ../for_user_info_popover}}
- {{#if (eq this.subtype "github") }}
- <i class="fa fa-github" aria-hidden="true"></i>
- {{else if (eq this.subtype "twitter") }}
- <i class="fa fa-twitter" aria-hidden="true"></i>
- {{/if}}
+ {{#if (eq this.subtype "github") }}
+ <i class="fa fa-github" aria-hidden="true"></i>
+ {{else if (eq this.subtype "twitter") }}
+ <i class="fa fa-twitter" aria-hidden="true"></i>
{{/if}}
{{this.value}}
</a>