From: Mark Wooding Date: Mon, 10 Apr 2017 14:50:38 +0000 (+0100) Subject: mason/pastebin/: Add `New' links to the `show' and `edit' pages. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/odin-cgi/commitdiff_plain/7f77ead8af9c6100f0bf4f259b5be780c4b0d86f mason/pastebin/: Add `New' links to the `show' and `edit' pages. --- diff --git a/mason/pastebin/%edit b/mason/pastebin/%edit index 38cc9c4..1a4d0f5 100644 --- a/mason/pastebin/%edit +++ b/mason/pastebin/%edit @@ -7,6 +7,7 @@ % $m->print($sep); ">View ">Delete + ">New % $sep = ""; $end = "\n"; % } % $m->print($end); diff --git a/mason/pastebin/%show b/mason/pastebin/%show index 7668de7..6ec0bb2 100644 --- a/mason/pastebin/%show +++ b/mason/pastebin/%show @@ -6,6 +6,7 @@ % if (defined $edit) { ">Edit % } + ">New % if (defined $honc) {