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="boxHeadline">
34 <h1>{lang}wcf.moderation.report{/lang}: {$queue->getTitle()}</h1>
36 {if $queue->lastChangeTime}
37 <dl class="plain inlineDataList">
38 <dt>{lang}wcf.moderation.lastChangeTime{/lang}</dt>
39 <dd>{@$queue->lastChangeTime|time}</dd>
43 <dl class="plain inlineDataList" id="moderationAssignedUserContainer">
44 <dt>{lang}wcf.moderation.assignedUser{/lang}</dt>
47 {if $queue->assignedUserID}
48 <a href="{link controller='User' id=$assignedUserID}{/link}" class="userLink" data-user-id="{@$assignedUserID}">{$queue->assignedUsername}</a>
50 {lang}wcf.moderation.assignedUser.nobody{/lang}
56 <dl class="plain inlineDataList" id="moderationStatusContainer">
57 <dt>{lang}wcf.moderation.status{/lang}</dt>
58 <dd>{$queue->getStatus()}</dd>
62 {include file='userNotice'}
64 {include file='formError'}
66 <header class="boxHeadline boxSubHeadline">
67 <h2>{lang}wcf.moderation.report.reportedContent{/lang}</h2>
68 <p>{lang}wcf.moderation.type.{@$queue->getObjectTypeName()}{/lang}</p>
71 <div class="marginTop">
75 <div class="contentNavigation">
78 {if !$queue->isDone()}
79 {if $queueManager->canRemoveContent($queue->getDecoratedObject())}<li class="jsOnly"><a id="removeContent" class="button"><span class="icon icon16 icon-remove"></span> <span>{lang}wcf.moderation.report.removeContent{/lang}</span></a></li>{/if}
80 <li class="jsOnly"><a id="removeReport" class="button"><span class="icon icon16 icon-remove"></span> <span>{lang}wcf.moderation.report.removeReport{/lang}</span></a></li>
82 {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}
84 {event name='contentNavigationButtons'}
89 <header class="boxHeadline boxSubHeadline">
90 <h2>{lang}wcf.moderation.report.reportedBy{/lang}</h2>
93 <div class="container containerPadding marginTop">
95 {if $reportUser->userID}
96 <a href="{link controller='User' object=$reportUser}{/link}" title="{$reportUser->username}" class="framed">
97 {@$reportUser->getAvatar()->getImageTag(32)}
100 <span class="framed">{@$reportUser->getAvatar()->getImageTag(32)}</span>
104 <div class="containerHeadline">
107 <a href="{link controller='User' id=$queue->userID}{/link}" class="userLink" data-user-id="{@$queue->userID}">{$queue->username}</a>
109 {lang}wcf.user.guest{/lang}
112 <small> - {@$queue->time|time}</small>
116 <div>{@$queue->getFormattedMessage()}</div>
121 <header id="comments" class="boxHeadline boxSubHeadline">
122 <h2>{lang}wcf.moderation.comments{/lang} <span class="badge">{#$queue->comments}</span></h2>
123 <p>{lang}wcf.moderation.comments.description{/lang}</p>
126 {include file='__commentJavaScript' commentContainerID='moderationQueueCommentList'}
128 <div class="container containerList marginTop moderationComments">
129 <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}">
130 {include file='commentList'}
134 {include file='footer'}