Author: dom Date: 2006-09-14 08:42:36 +0100 (Thu, 14 Sep 2006) New Revision: 866
Modified: trunk/templates/needing_moderation.tt trunk/wiki.cgi Log: Include deletion link in pending moderation page (closes #143)
Modified: trunk/templates/needing_moderation.tt =================================================================== --- trunk/templates/needing_moderation.tt 2006-09-14 07:29:14 UTC (rev 865) +++ trunk/templates/needing_moderation.tt 2006-09-14 07:42:36 UTC (rev 866) @@ -15,6 +15,7 @@ <td align="center">[% node.version %]</td> <td align="center">[% node.moderated_version %]</td> <td><a href="[% node.moderate_url %]">Moderate this version</a> + or <a href="[% node.delete_url %]">Delete this version</a> or <a href="[% node.view_url %]">View this version</a> or <a href="[% node.diff_url %]">See changes</a> </td>
Modified: trunk/wiki.cgi =================================================================== --- trunk/wiki.cgi 2006-09-14 07:29:14 UTC (rev 865) +++ trunk/wiki.cgi 2006-09-14 07:42:36 UTC (rev 866) @@ -408,6 +408,7 @@ $node->{'moderate_url'} = $script_name . "?action=moderate&id=".$node_param."&version=".$node->{'version'}; $node->{'view_url'} = $script_name . "?id=".$node_param."&version=".$node->{'version'}; $node->{'diff_url'} = $script_name . "?id=".$node_param."&version=".$node->{'moderated_version'}."&diffversion=".$node->{'version'}; + $node->{'delete_url'} = $script_name . "?action=delete;version=".$node->{'version'}.";id=".$node_param; }
process_template( "needing_moderation.tt",
openguides-commits@lists.openguides.org