2021-06-28 10:02:45 +02:00
|
|
|
<div id="set_user_status_modal" class="modal modal-bg hide fade new-style" role="dialog" aria-labelledby="set_user_status_modal_label" aria-hidden="true">
|
2021-06-24 18:46:59 +02:00
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close close-modal-btn" data-dismiss="modal" aria-label="{{t 'Close' }}"><span aria-hidden="true">×</span></button>
|
|
|
|
<h3 id="set_user_status_modal_label">{{t "Set status" }} </h3>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2021-06-28 10:02:45 +02:00
|
|
|
<div class="user_status_content_wrapper">
|
2021-07-28 18:53:59 +02:00
|
|
|
<div class="status_emoji_wrapper tippy-zulip-tooltip" data-tippy-content="{{t 'Select emoji' }}" data-tippy-placement="top" aria-label="{{t 'Select emoji' }}" tabindex="0" id="selected_emoji">
|
2021-06-28 10:02:45 +02:00
|
|
|
{{> status_emoji_selector}}
|
|
|
|
</div>
|
2021-07-28 18:53:59 +02:00
|
|
|
<input type="text" class="user_status" placeholder="{{t 'Your status' }}" maxlength="60"/>
|
2021-06-28 10:02:45 +02:00
|
|
|
<button type="button" class="btn clear_search_button" id="clear_status_message_button" disabled="disabled">
|
|
|
|
<i class="fa fa-remove" aria-hidden="true"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
2021-06-14 09:18:22 +02:00
|
|
|
<div class="user-status-options">
|
2021-07-01 17:25:18 +02:00
|
|
|
{{#each default_status_messages_and_emoji_info}}
|
2021-12-04 15:39:38 +01:00
|
|
|
<button type="button" class="button no-style user-status-value">
|
|
|
|
{{#if emoji.emoji_alt_code}}
|
|
|
|
<div class="emoji_alt_code"> :{{emoji.emoji_name}}:</div>
|
2021-07-01 17:25:18 +02:00
|
|
|
{{else}}
|
2021-12-04 15:39:38 +01:00
|
|
|
{{#if emoji.url}}
|
|
|
|
<img src="{{emoji.url}}" class="emoji status_emoji" />
|
|
|
|
{{else}}
|
|
|
|
<div class="emoji status_emoji emoji-{{emoji.emoji_code}}"></div>
|
|
|
|
{{/if}}
|
2021-07-01 17:25:18 +02:00
|
|
|
{{/if}}
|
2021-12-04 15:39:38 +01:00
|
|
|
{{status_text}}
|
|
|
|
</button>
|
2021-07-01 17:25:18 +02:00
|
|
|
{{/each}}
|
2021-06-14 09:18:22 +02:00
|
|
|
</div>
|
2021-06-24 18:46:59 +02:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button class="button rounded close-modal-btn" data-dismiss="modal">{{t "Cancel" }}</button>
|
|
|
|
<button class="button rounded sea-green set_user_status">
|
|
|
|
{{t "Save" }}
|
|
|
|
</button>
|
2021-06-14 09:18:22 +02:00
|
|
|
</div>
|
|
|
|
</div>
|