ciudadanointeligente / write-it

App to create and send messages to public persons. It's a component of POPLUS project.
poplus.org
GNU General Public License v3.0
38 stars 23 forks source link

Don't offer moderation buttons for unconfirmed messages #1208

Closed mhl closed 7 years ago

mhl commented 7 years ago

The message detail pages that you see in the site owner's admin were offering "Accept" or "Reject" moderation options even when the message hadn't been confirmed yet. People were clicking on these which would then generate user-facing error pages and notify us of the error by email. This commit changes the message detail page to only offer those options for confirmed messages.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 98.162% when pulling e7b18bce62fae732019c8f32e3d58e8bf974bbba on fix-offering-moderation-of-unconfirmed into 1be2bb146d4a9243bd2f505c31638798151eac89 on alpaca-rebased.