Add an upload link when adding an event.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 15 Jul 2020 17:28:20 +0000 (19:28 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 15 Jul 2020 17:28:20 +0000 (19:28 +0200)
perl/Sesse/pr0n/NewEvent.pm

index 8f4d6cef4ed5fa98600f159195477ac0ccb5af92..64a2f3ee462ad4a0d7e9145ed60d7ec5e13f3b36 100644 (file)
@@ -26,7 +26,7 @@ sub handler {
                }
                $io->print("    <p>Rett opp i feilene over før du går videre.</p>\n");
        } else {
-               $io->print("    <p>Hendelsen '$id' lagt til.</p>");
+               $io->print("    <p>Hendelsen '<a href=\"/upload/$id/\">$id</a>' lagt til.</p>");
        }
        
        Sesse::pr0n::Common::footer($r, $io);