Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
39 lines
2.5 KiB
Handlebars
39 lines
2.5 KiB
Handlebars
{{#each profile_fields}}
|
|
<li data-type="{{this.type}}" class="field-section custom_user_field" data-field-id="{{this.id}}">
|
|
{{#unless ../for_user_card_popover}}
|
|
<div class="name">{{this.name}}</div>
|
|
{{/unless}}
|
|
{{#if this.is_link}}
|
|
<div class="custom-user-url-field">
|
|
<a tabindex="0" href="{{this.value}}" target="_blank" rel="noopener noreferrer" class="value custom-profile-fields-link {{#if ../for_user_card_popover}}tippy-zulip-tooltip{{/if}}" data-tippy-content="{{this.name}}">{{this.value}}</a>
|
|
<span tabindex="0" class="copy-button copy-custom-field-url tippy-zulip-tooltip" aria-label="{{t 'Copy URL' }}" data-tippy-content="{{t 'Copy URL' }}">
|
|
<i class="zulip-icon zulip-icon-copy" aria-hidden="true"></i>
|
|
</span>
|
|
</div>
|
|
{{else if this.is_external_account}}
|
|
{{#if this.link}}
|
|
<a tabindex="0" href="{{this.link}}" target="_blank" rel="noopener noreferrer" class="value custom-profile-fields-link external-account-link-field {{#if ../for_user_card_popover}}tippy-zulip-tooltip{{/if}}" data-tippy-content="{{this.name}}">
|
|
{{> default_external_account_icon subtype=this.subtype}}
|
|
{{this.value}}
|
|
</a>
|
|
{{else}}
|
|
<div class="external-account-text-field">
|
|
{{> default_external_account_icon subtype=this.subtype}}
|
|
{{this.value}}
|
|
<span tabindex="0" class="copy-button copy-external-account-field tippy-zulip-tooltip" aria-label="{{t 'Copy value' }}" data-tippy-content="{{t 'Copy value' }}" data-clipboard-text="{{this.value}}">
|
|
<i class="zulip-icon zulip-icon-copy" aria-hidden="true"></i>
|
|
</span>
|
|
</div>
|
|
{{/if}}
|
|
{{else if this.is_user_field}}
|
|
<div class="user-type-custom-field-pill-container" data-field-id="{{this.id}}"></div>
|
|
{{else}}
|
|
{{#if this.rendered_value}}
|
|
<span class="value rendered_markdown {{#if ../for_user_card_popover}}tippy-zulip-tooltip{{/if}}" data-tippy-content="{{this.name}}">{{rendered_markdown this.rendered_value}}</span>
|
|
{{else}}
|
|
<span class="value {{#if ../for_user_card_popover}}tippy-zulip-tooltip{{/if}}" data-tippy-content="{{this.name}}">{{this.value}}</span>
|
|
{{/if}}
|
|
{{/if}}
|
|
</li>
|
|
{{/each}}
|