mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	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.
This commit is contained in:
		@@ -7,13 +7,11 @@
 | 
			
		||||
            <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}}
 | 
			
		||||
                {{this.value}}
 | 
			
		||||
            </a>
 | 
			
		||||
        {{else if this.is_user_field}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user