mirror of https://github.com/zulip/zulip.git
41 lines
2.0 KiB
Handlebars
41 lines
2.0 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_options">
|
|
<ul class="nav nav-list">
|
|
{{#if possible_send_later_today}}
|
|
{{#each possible_send_later_today}}
|
|
<li>
|
|
<a id="{{@key}}" class="send_later_today" data-send-stamp="{{this.stamp}}" tabindex="0">{{this.text}}</a>
|
|
</li>
|
|
{{/each}}
|
|
{{/if}}
|
|
{{#each send_later_tomorrow}}
|
|
<li>
|
|
<a id="{{@key}}" class="send_later_tomorrow" data-send-stamp="{{this.stamp}}" tabindex="0">{{this.text}}</a>
|
|
</li>
|
|
{{/each}}
|
|
{{#if possible_send_later_monday }}
|
|
{{#each possible_send_later_monday}}
|
|
<li>
|
|
<a id="{{@key}}" class="send_later_monday" data-send-stamp="{{this.stamp}}" tabindex="0">{{this.text}}</a>
|
|
</li>
|
|
{{/each}}
|
|
{{/if}}
|
|
<li>
|
|
<a class="send_later_custom" tabindex="0">{{t 'Custom time'}}</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
</div>
|