From: Alexander Ebert Date: Wed, 14 Sep 2022 15:19:54 +0000 (+0200) Subject: Add explicit `type` to ` + `, }; diff --git a/templates/conversation.tpl b/templates/conversation.tpl index d476cd7..c9adba3 100644 --- a/templates/conversation.tpl +++ b/templates/conversation.tpl @@ -50,7 +50,7 @@ {content} {if $conversation->canReply()}
  • - @@ -76,7 +76,7 @@ {lang}wcf.global.button.edit{/lang} {else} - @@ -101,6 +101,7 @@ {if $participant->isInvisible}({lang}wcf.conversation.invisible{/lang}){/if} {if $participant->userID && ($conversation->userID == $__wcf->getUser()->userID) && ($participant->userID != $__wcf->getUser()->userID) && $participant->hideConversation != 2 && $participant->leftAt == 0} + {include file='messageFormPreviewButton' previewMessageObjectType='com.woltlab.wcf.conversation.message' previewMessageObjectID=0} {csrfToken} diff --git a/templates/conversationAddParticipants.tpl b/templates/conversationAddParticipants.tpl index cca3719..fecdd1a 100644 --- a/templates/conversationAddParticipants.tpl +++ b/templates/conversationAddParticipants.tpl @@ -22,5 +22,5 @@ {/if}
    - +
    \ No newline at end of file diff --git a/templates/conversationLabelAssignment.tpl b/templates/conversationLabelAssignment.tpl index 92c637d..180675e 100644 --- a/templates/conversationLabelAssignment.tpl +++ b/templates/conversationLabelAssignment.tpl @@ -10,5 +10,5 @@
    - +
    diff --git a/templates/conversationLabelManagement.tpl b/templates/conversationLabelManagement.tpl index b915eef..c7a837e 100644 --- a/templates/conversationLabelManagement.tpl +++ b/templates/conversationLabelManagement.tpl @@ -36,8 +36,8 @@
    - - - + + +
    \ No newline at end of file diff --git a/templates/conversationLeave.tpl b/templates/conversationLeave.tpl index 7350529..177fb93 100644 --- a/templates/conversationLeave.tpl +++ b/templates/conversationLeave.tpl @@ -16,5 +16,5 @@
    - +
    diff --git a/templates/conversationList.tpl b/templates/conversationList.tpl index 5063179..a3a116e 100644 --- a/templates/conversationList.tpl +++ b/templates/conversationList.tpl @@ -104,7 +104,7 @@
    - +
    @@ -135,7 +135,7 @@ {/capture} {capture assign='contentInteractionButtons'} - diff --git a/templates/conversationMessageInlineEditor.tpl b/templates/conversationMessageInlineEditor.tpl index 6eee8d5..cffb0e9 100644 --- a/templates/conversationMessageInlineEditor.tpl +++ b/templates/conversationMessageInlineEditor.tpl @@ -8,11 +8,11 @@ {include file='messageFormTabsInline' inConversationInlineEdit=true wysiwygContainerID=$wysiwygContainerID}
    - + {include file='messageFormPreviewButton' previewMessageFieldID=$wysiwygSelector previewButtonID=$wysiwygSelector|concat:'_PreviewButton' previewMessageObjectType='com.woltlab.wcf.conversation.message' previewMessageObjectID=$message->messageID} - +
    {include file='wysiwyg' wysiwygEnableUpload=true} diff --git a/templates/conversationMessageList.tpl b/templates/conversationMessageList.tpl index 5c6ce33..6f51a9f 100644 --- a/templates/conversationMessageList.tpl +++ b/templates/conversationMessageList.tpl @@ -97,7 +97,7 @@
  • {if $message->userID != $__wcf->getUser()->userID && $__wcf->session->getPermission('user.profile.canReportContent')}
  • - diff --git a/ts/WoltLabSuite/Core/Conversation/Ui/Subject/Editor.ts b/ts/WoltLabSuite/Core/Conversation/Ui/Subject/Editor.ts index 08cf853..c1c69fe 100644 --- a/ts/WoltLabSuite/Core/Conversation/Ui/Subject/Editor.ts +++ b/ts/WoltLabSuite/Core/Conversation/Ui/Subject/Editor.ts @@ -114,7 +114,9 @@ class UiSubjectEditor implements AjaxCallbackObject, DialogCallbackObject {
    - +
    `, };