Update npm dependencies
[GitHub/WoltLab/com.woltlab.wcf.conversation.git] / templates / conversationQuickReply.tpl
1 <li id="messageQuickReply" class="jsOnly{if $conversation->userID == $__wcf->getUser()->userID} messageGroupStarter{/if}{if $pageNo < $pages} messageQuickReplyCollapsed{/if}" data-object-id="{@$conversation->conversationID}" data-last-post-time="{@$conversation->lastPostTime}" data-page-no="{@$pageNo}">
2 <article class="message messageSidebarOrientation{@$__wcf->getStyleHandler()->getStyle()->getVariable('messageSidebarOrientation')|ucfirst}{if $__wcf->getUserProfileHandler()->userOnlineGroupID} userOnlineGroupMarking{@$__wcf->getUserProfileHandler()->userOnlineGroupID}{/if}">
3 {include file='messageSidebar' userProfile=$__wcf->getUserProfileHandler()->getUserProfile() isReply=true enableMicrodata=false}
4
5 <div class="messageContent messageQuickReplyContent"{if $pageNo < $pages} data-placeholder="{lang}wcf.conversation.reply{/lang}"{/if}>
6 <div class="messageBody">
7 {if !$conversation->isDraft && !$conversation->hasOtherParticipants()}
8 <p class="warning" role="status" style="margin-bottom: 14px">{lang}wcf.conversation.noParticipantsWarning{/lang}</p>
9 {/if}
10
11 {event name='beforeWysiwyg'}
12
13 <textarea id="text" name="text" class="wysiwygTextarea"
14 data-autosave="com.woltlab.wcf.conversation.messageAdd-{@$conversation->conversationID}"
15 data-support-mention="true"
16 ></textarea>
17 {include file='messageFormTabsInline' inConversationQuickReply=true}
18 </div>
19
20 <footer class="messageFooter">
21 <div class="formSubmit">
22 <button class="buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.reply{/lang}</button>
23 {include file='messageFormPreviewButton' previewMessageObjectType='com.woltlab.wcf.conversation.message' previewMessageObjectID=0}
24 </div>
25 </footer>
26 </div>
27 </article>
28
29 {include file='wysiwyg'}
30 </li>