XF 1.5 Hide notice when "pending moderation" text is visible


Well-known member
In my forum, I have post moderation enabled. So, when a post is made, the poster gets the message "Your message has been submitted and will be displayed pending approval by a moderator."

Is it possible to hide the regular notice and advertisement block when the pending moderation text is visible?