From: Matthew Vernon Date: Sun, 5 Jan 2014 07:36:09 +0000 (+0000) Subject: Replace drop-down with radio buttons X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~webstump/git?a=commitdiff_plain;h=f21bfd5ecc5dda85b60265d48e15a48e1439a490;p=modbot-uram.git 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. --- 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 - -
- - -