[dw-nonfree] Have a 'make another suggestion' link on the success page
[commit: http://hg.dwscoalition.org/dw-nonfree/rev/33a2d349e396]
http://bugs.dwscoalition.org/show_bug.cgi?id=3404
Additional links leading back to the page to submit another suggestion, or
to the suggestions community, after submitting a suggestion.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3404
Additional links leading back to the page to submit another suggestion, or
to the suggestions community, after submitting a suggestion.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/site/suggest.bml
-------------------------------------------------------------------------------- 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} ) { --------------------------------------------------------------------------------