From: Matthias Schmidt Date: Wed, 14 Apr 2021 12:02:33 +0000 (+0200) Subject: Add clipboard support for moderation (#4121) X-Git-Tag: 5.4.0_Alpha_1~92 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4a722d6a7d4d4e3d7121560ef4a930f165660017;p=GitHub%2FWoltLab%2FWCF.git Add clipboard support for moderation (#4121) * Add clipboard support for moderation Close #3774 * Apply suggestions from code review Co-authored-by: Tim Düsterhus * Use `defaultChecked` property in `Ui/Moderation/Clipboard/AssignUser` Co-authored-by: Tim Düsterhus --- diff --git a/com.woltlab.wcf/clipboardAction.xml b/com.woltlab.wcf/clipboardAction.xml index 3f48d79925..1e4b32527a 100644 --- a/com.woltlab.wcf/clipboardAction.xml +++ b/com.woltlab.wcf/clipboardAction.xml @@ -180,5 +180,40 @@ wcf\acp\page\ArticleListPage + + wcf\system\clipboard\action\ModerationQueueClipboardAction + 1 + + wcf\page\ModerationListPage + + + + wcf\system\clipboard\action\ModerationQueueActivationClipboardAction + 2 + + wcf\page\ModerationListPage + + + + wcf\system\clipboard\action\ModerationQueueActivationClipboardAction + 3 + + wcf\page\ModerationListPage + + + + wcf\system\clipboard\action\ModerationQueueReportClipboardAction + 4 + + wcf\page\ModerationListPage + + + + wcf\system\clipboard\action\ModerationQueueReportClipboardAction + 5 + + wcf\page\ModerationListPage + + diff --git a/com.woltlab.wcf/objectType.xml b/com.woltlab.wcf/objectType.xml index 78b99d56b6..8b6b752f54 100644 --- a/com.woltlab.wcf/objectType.xml +++ b/com.woltlab.wcf/objectType.xml @@ -22,6 +22,11 @@ com.woltlab.wcf.clipboardItem wcf\data\article\ArticleList + + com.woltlab.wcf.moderation.queue + com.woltlab.wcf.clipboardItem + wcf\data\moderation\queue\ViewableModerationQueueList + diff --git a/com.woltlab.wcf/templates/moderationList.tpl b/com.woltlab.wcf/templates/moderationList.tpl index a417d26de2..72637c619a 100644 --- a/com.woltlab.wcf/templates/moderationList.tpl +++ b/com.woltlab.wcf/templates/moderationList.tpl @@ -19,10 +19,12 @@ {/hascontent} {if $objects|count} -
+
    1. +
    2. +
      • @@ -33,7 +35,7 @@