1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 15:57:45 +02:00

[ticket/9837] Display unapproved posts to their authors

Basic functionality mock up.

PHPBB3-9837
This commit is contained in:
Máté Bartus
2018-05-11 17:29:49 +02:00
committed by Marc Alexander
parent ce35aa8b0b
commit eb94fe973b
4 changed files with 24 additions and 2 deletions

View File

@@ -294,6 +294,7 @@
<!-- EVENT viewtopic_body_postrow_post_details_after -->
<!-- IF postrow.S_POST_UNAPPROVED -->
<!-- IF postrow.S_CAN_APPROVE -->
<form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}">
<p class="post-notice unapproved">
<span><i class="icon fa-question icon-red fa-fw" aria-hidden="true"></i></span>
@@ -304,6 +305,11 @@
{S_FORM_TOKEN}
</p>
</form>
<!-- ELSE -->
<p class="information post-notice">
{L_POST_UNAPPROVED}
</p>
<!-- ENDIF -->
<!-- ELSEIF postrow.S_POST_DELETED -->
<form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}">
<p class="post-notice deleted">

View File

@@ -1161,3 +1161,7 @@ li.notification-reported strong, li.notification-disapproved strong {
background-color: #D31141;
color: #ffffff;
}
p.information {
background-color: #b8d3e0;
}