From f21bfd5ecc5dda85b60265d48e15a48e1439a490 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Sun, 5 Jan 2014 07:36:09 +0000 Subject: [PATCH] Replace drop-down with radio buttons Todal wanted a simpler UI for the single-article screen, rather more like the version in the multiple-article screen. This does that, by stripping out the old drop-down (and the thread status button), and replacing it with radio buttons for all the approve/hold/reject options. Also, make it clearer that the "Comment" field is to go with the rejection email to the poster. --- webstump/scripts/html_output.pl | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/webstump/scripts/html_output.pl b/webstump/scripts/html_output.pl index 4b0e576..460a0d3 100644 --- a/webstump/scripts/html_output.pl +++ b/webstump/scripts/html_output.pl @@ -245,19 +245,14 @@ sub html_moderate_article { print " "; &html_print_credentials; - print "Approve\n"; + print "Leave\n"; + print "Back of queue\n"; + foreach (@short_rejection_reasons) { + print "Reject \u$_\n"; + } - print "
Comment:
"; + print "
Comment (to poster, in rejection message):
"; print "
Don't change poster's status @@ -266,15 +261,6 @@ sub html_moderate_article { Ban All Posts by this Person (Careful!) -

-Don't change thread's status - -
- - -

-- 2.30.2