Fixed remove report button
authorMarcel Werk <burntime@woltlab.com>
Mon, 27 May 2013 13:27:02 +0000 (15:27 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 27 May 2013 13:27:02 +0000 (15:27 +0200)
com.woltlab.wcf/template/moderationReport.tpl

index 72c8a0f60b1f00d25f7cedfa2ff464e18a1fc1ba..d4e8e69bb6f3399d909355da5004da861ad3981e 100644 (file)
        <nav>
                <ul>
                        <li class="jsOnly"><button id="removeContent">{lang}wcf.moderation.report.removeContent{/lang}</button></li>
-                       <li class="jsOnly"><button id="removeReport">{lang}wcf.moderation.report.removeReport{/lang}</button></li>
+                       {if $queue->status != 2}
+                               <li class="jsOnly"><button id="removeReport">{lang}wcf.moderation.report.removeReport{/lang}</button></li>
+                       {/if}
                        <li><a href="{link controller='ModerationList'}{/link}" class="button"><span class="icon icon16 icon-list"></span> <span>{lang}wcf.moderation.moderation{/lang}</span></a></li>
                        
                        {event name='contentNavigationButtonsBottom'}