aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver
diff options
context:
space:
mode:
authorMáté Bartus <mate.bartus@gmail.com>2018-05-11 17:29:49 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-11-21 13:44:19 +0100
commiteb94fe973bbf7b56e61b0287cf9a765197bed27c (patch)
tree465b47e7e86b1f8844eceb22c50c45d4189bbc86 /phpBB/styles/prosilver
parentce35aa8b0b90870608a5b0782a36c6aedad8c7e4 (diff)
downloadforums-eb94fe973bbf7b56e61b0287cf9a765197bed27c.tar
forums-eb94fe973bbf7b56e61b0287cf9a765197bed27c.tar.gz
forums-eb94fe973bbf7b56e61b0287cf9a765197bed27c.tar.bz2
forums-eb94fe973bbf7b56e61b0287cf9a765197bed27c.tar.xz
forums-eb94fe973bbf7b56e61b0287cf9a765197bed27c.zip
[ticket/9837] Display unapproved posts to their authors
Basic functionality mock up. PHPBB3-9837
Diffstat (limited to 'phpBB/styles/prosilver')
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html6
-rw-r--r--phpBB/styles/prosilver/theme/colours.css4
2 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index 9bfa07e52b..5a469b8d85 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -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">
diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css
index ffaa71034f..d8ee4f73a7 100644
--- a/phpBB/styles/prosilver/theme/colours.css
+++ b/phpBB/styles/prosilver/theme/colours.css
@@ -1161,3 +1161,7 @@ li.notification-reported strong, li.notification-disapproved strong {
background-color: #D31141;
color: #ffffff;
}
+
+p.information {
+ background-color: #b8d3e0;
+}