1 {include file='documentHeader'}
4 <title>{lang}wcf.moderation.report{/lang}: {$queue->getTitle()} - {PAGE_TITLE|language}</title>
6 {include file='headInclude'}
8 <script data-relocate="true">
11 WCF.Language.addObject({
12 'wcf.moderation.assignedUser': '{lang}wcf.moderation.assignedUser{/lang}',
13 'wcf.moderation.assignedUser.change': '{lang}wcf.moderation.assignedUser.change{/lang}',
14 'wcf.moderation.assignedUser.error.notAffected': '{lang}wcf.moderation.assignedUser.error.notAffected{/lang}',
15 'wcf.moderation.report.removeContent.confirmMessage': '{lang}wcf.moderation.report.removeContent.confirmMessage{/lang}',
16 'wcf.moderation.report.removeContent.reason': '{lang}wcf.moderation.report.removeContent.reason{/lang}',
17 'wcf.moderation.report.removeReport.confirmMessage': '{lang}wcf.moderation.report.removeReport.confirmMessage{/lang}',
18 'wcf.moderation.status.outstanding': '{lang}wcf.moderation.status.outstanding{/lang}',
19 'wcf.moderation.status.processing': '{lang}wcf.moderation.status.processing{/lang}',
20 'wcf.user.username.error.notFound': '{lang __literal=true}wcf.user.username.error.notFound{/lang}'
23 new WCF.Moderation.Report.Management({@$queue->queueID}, '{link controller='ModerationList' encode=false}{/link}');
29 <body id="tpl{$templateName|ucfirst}" data-template="{$templateName}" data-application="{$templateNameApplication}">
31 {include file='header'}
33 <header class="contentHeader">
34 <div class="contentHeaderTitle">
35 <h1 class="contentTitle">{lang}wcf.moderation.report{/lang}</h1>
37 {if $queue->lastChangeTime}
38 <dl class="plain inlineDataList">
39 <dt>{lang}wcf.moderation.lastChangeTime{/lang}</dt>
40 <dd>{@$queue->lastChangeTime|time}</dd>
44 <dl class="plain inlineDataList" id="moderationAssignedUserContainer">
45 <dt>{lang}wcf.moderation.assignedUser{/lang}</dt>
48 {if $queue->assignedUserID}
49 <a href="{link controller='User' id=$assignedUserID}{/link}" class="userLink" data-user-id="{@$assignedUserID}">{$queue->assignedUsername}</a>
51 {lang}wcf.moderation.assignedUser.nobody{/lang}
57 <dl class="plain inlineDataList" id="moderationStatusContainer">
58 <dt>{lang}wcf.moderation.status{/lang}</dt>
59 <dd>{$queue->getStatus()}</dd>
64 <nav class="contentHeaderNavigation">
67 {if !$queue->isDone()}
68 {if $queueManager->canRemoveContent($queue->getDecoratedObject())}<li class="jsOnly"><a id="removeContent" class="button"><span class="icon icon16 fa-times"></span> <span>{lang}wcf.moderation.report.removeContent{/lang}</span></a></li>{/if}
69 <li class="jsOnly"><a id="removeReport" class="button"><span class="icon icon16 fa-times"></span> <span>{lang}wcf.moderation.report.removeReport{/lang}</span></a></li>
71 {if $queue->getAffectedObject()}<li><a href="{$queue->getAffectedObject()->getLink()}" class="button"><span class="icon icon16 fa-arrow-right"></span> <span>{lang}wcf.moderation.jumpToContent{/lang}</span></a></li>{/if}
72 {event name='contentHeaderNavigation'}
79 {include file='userNotice'}
81 {include file='formError'}
83 <section class="section">
84 <header class="sectionHeader">
85 <h2 class="sectionTitle">{lang}wcf.moderation.report.reportedContent{/lang}</h2>
86 <p class="sectionDescription">{lang}wcf.moderation.type.{@$queue->getObjectTypeName()}{/lang}</p>
92 <section class="section">
93 <h2 class="sectionTitle">{lang}wcf.moderation.report.reportedBy{/lang}</h2>
96 {if $reportUser->userID}
97 <a href="{link controller='User' object=$reportUser}{/link}" title="{$reportUser->username}">
98 {@$reportUser->getAvatar()->getImageTag(32)}
101 <span>{@$reportUser->getAvatar()->getImageTag(32)}</span>
105 <div class="containerHeadline">
108 <a href="{link controller='User' id=$queue->userID}{/link}" class="userLink" data-user-id="{@$queue->userID}">{$queue->username}</a>
110 {lang}wcf.user.guest{/lang}
113 <small class="separatorLeft">{@$queue->time|time}</small>
117 <div class="containerContent">{@$queue->getFormattedMessage()}</div>
122 {include file='__commentJavaScript' commentContainerID='moderationQueueCommentList'}
124 <section id="comments" class="section sectionContainerList moderationComments">
125 <header class="sectionHeader">
126 <h2 class="sectionTitle">{lang}wcf.moderation.comments{/lang} <span class="badge">{#$queue->comments}</span></h2>
127 <p class="sectionDescription">{lang}wcf.moderation.comments.description{/lang}</p>
130 <ul id="moderationQueueCommentList" class="commentList containerList" data-can-add="true" data-object-id="{@$queueID}" data-object-type-id="{@$commentObjectTypeID}" data-comments="{if $queue->comments}{@$commentList->countObjects()}{else}0{/if}" data-last-comment-time="{@$lastCommentTime}">
131 {include file='commentList'}
135 {include file='footer'}