2018-04-23 20:41:35 +02:00
|
|
|
<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' }}">
|
2018-08-24 20:24:25 +02:00
|
|
|
<span aria-hidden="true" class="exit-sign">×</span>
|
2018-04-23 20:41:35 +02:00
|
|
|
</button>
|
|
|
|
<div class="user-profile-modal-avatar" style="background-image: url('{{user_avatar}}');" ></div>
|
2018-05-24 20:56:53 +02:00
|
|
|
<div class="user-profile-modal-name-email-section">
|
|
|
|
<div class="user-profile-modal-name">
|
|
|
|
{{full_name}}
|
|
|
|
{{#if is_me}}
|
|
|
|
<a href="/#settings/your-account">
|
2018-07-03 00:40:55 +02:00
|
|
|
<i class="fa fa-edit user-profile-modal-edit-button" aria-hidden="true"></i>
|
2018-05-24 20:56:53 +02:00
|
|
|
</a>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="user-profile-modal-email">
|
|
|
|
{{email}}
|
|
|
|
</div>
|
2018-04-23 20:41:35 +02:00
|
|
|
</div>
|
2018-05-24 20:56:53 +02:00
|
|
|
<hr class="user-profile-modal-hr">
|
2018-04-23 20:41:35 +02:00
|
|
|
<div class="user-profile-modal-content">
|
|
|
|
{{#each profile_data}}
|
2018-08-16 09:31:28 +02:00
|
|
|
{{#if this.value}}
|
2018-04-23 20:41:35 +02:00
|
|
|
<div class="user-profile-key-value-section">
|
2018-08-15 21:48:28 +02:00
|
|
|
<div class="user-profile-modal-field-name">{{this.name}}:</div>
|
2018-08-16 09:31:28 +02:00
|
|
|
{{#if this.is_user_field}}
|
|
|
|
<div class="pill-container not-editable" data-field-id="{{this.id}}">
|
|
|
|
<div class="input" contenteditable="false" style="display: none;"></div>
|
|
|
|
</div>
|
|
|
|
{{else}}
|
2018-08-15 21:48:28 +02:00
|
|
|
<div class="user-profile-modal-field-value">{{this.value}}</div>
|
2018-08-16 09:31:28 +02:00
|
|
|
{{/if}}
|
2018-04-23 20:41:35 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|