mirror of https://github.com/zulip/zulip.git
35 lines
1.7 KiB
Handlebars
35 lines
1.7 KiB
Handlebars
|
<div class="micromodal" id="send_later_modal" aria-hidden="true">
|
||
|
<div class="modal__overlay" tabindex="-1">
|
||
|
<div class="modal__container" role="dialog" aria-modal="true" aria-labelledby="send_later_modal_label">
|
||
|
<header class="modal__header">
|
||
|
<h1 class="modal__title" id="send_later_modal_label">
|
||
|
{{t "Schedule message" }}
|
||
|
</h1>
|
||
|
<button class="modal__close" aria-label="{{t 'Close modal' }}" data-micromodal-close></button>
|
||
|
</header>
|
||
|
<main class="modal__content">
|
||
|
<div class="send_later_input_group">
|
||
|
<input class="send_later_date_input" type="text" placeholder="{{t 'Select Date and time' }}" readonly="readonly"
|
||
|
{{#if formatted_send_later_time }}value="{{formatted_send_later_time}}"{{/if}} />
|
||
|
</div>
|
||
|
<div class="send_later_options">
|
||
|
<ul class="nav nav-list">
|
||
|
{{#if possible_send_later_today}}
|
||
|
{{#each possible_send_later_today}}
|
||
|
<li>
|
||
|
<a id="{{@key}}" class="send_later_today" tabindex="0">{{this.text}}</a>
|
||
|
</li>
|
||
|
{{/each}}
|
||
|
{{/if}}
|
||
|
{{#each send_later_tomorrow}}
|
||
|
<li>
|
||
|
<a id="{{@key}}" class="send_later_tomorrow" tabindex="0">{{this.text}}</a>
|
||
|
</li>
|
||
|
{{/each}}
|
||
|
</ul>
|
||
|
</div>
|
||
|
</main>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|