Additional links leading back to the page to submit another suggestion, 
or  to the suggestions community, after submitting a suggestion.

        Patch by kareila. 

diffs (21 lines):

diff -r 5e3ddd9e2911 -r 33a2d349e396 htdocs/site/suggest.bml
--- a/htdocs/site/suggest.bml   Thu Jan 06 16:01:43 2011 +0800
+++ b/htdocs/site/suggest.bml   Sun Jan 23 10:43:00 2011 +0800
@@ -155,8 +155,15 @@ body<=
             my $err = LJ::Protocol::error_message( $response || $response2 );
             return LJ::bad_input( $err );
         } else {
-            my $commname = $destination->ljuser_display; 
-            return "<h2>Success!</h2>\n<p>Your suggestion has been submitted 
to the moderation queue of $commname. Once approved, it will appear in the 
community for discussion and evaluation.";
+            my $commname = $destination->ljuser_display;
+            my $commlink = $destination->journal_base;
+            my $ret = "<h2>Success!</h2>\n"
+                    . "<p>Your suggestion has been submitted to the moderation 
queue of $commname."
+                    . " Once approved, it will appear in the community for 
discussion and evaluation.</p>\n"
+                    . "<p>From here you can:</p><ul>\n"
+                    . "<li><a href='$LJ::SITEROOT/site/suggest'>Make another 
suggestion</a></li>\n"
+                    . "<li><a href='$commlink'>View the suggestions 
community</a></li></ul>\n";
+            return $ret;
         }
 
     } elsif ( LJ::did_post() && $POST{preview} ) {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to