mirror of https://github.com/zulip/zulip.git
34 lines
1.4 KiB
Handlebars
34 lines
1.4 KiB
Handlebars
|
<div id="user-profile-modal" class="modal modal-bg fade" tabindex="-1"
|
||
|
role="dialog" aria-labelledby="user_profile_modal_label" aria-hidden="true">
|
||
|
<div class="modal-body" id="user-profile-modal-body">
|
||
|
<button type="button" class="close" data-dismiss="modal" aria-label="{{t 'Close' }}">
|
||
|
<span aria-hidden="true">×</span>
|
||
|
</button>
|
||
|
<div class="user-profile-modal-avatar" style="background-image: url('{{user_avatar}}');" ></div>
|
||
|
<div class="user-profile-modal-name-section">
|
||
|
{{full_name}}
|
||
|
{{#if is_me}}
|
||
|
<a href="/#settings/your-account">
|
||
|
<i class="icon-vector-edit user-profile-modal-edit-button" aria-hidden="true"></i>
|
||
|
</a>
|
||
|
{{/if}}
|
||
|
</div>
|
||
|
<div class="user-profile-modal-email-section">
|
||
|
{{email}}
|
||
|
</div>
|
||
|
{{#if profile_data}}
|
||
|
<hr id="user-profile-modal-hr">
|
||
|
{{/if}}
|
||
|
<div class="user-profile-modal-content">
|
||
|
{{#each profile_data}}
|
||
|
{{#if this}}
|
||
|
<div class="user-profile-key-value-section">
|
||
|
<div class="user-profile-modal-field-name">{{@key}}</div>
|
||
|
<div class="user-profile-modal-field-value">{{this}}</div>
|
||
|
</div>
|
||
|
{{/if}}
|
||
|
{{/each}}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|