]> mj.ucw.cz Git - pciids.git/commitdiff
Discuss link below discussion
authorMichal Vaner <vorner@ucw.cz>
Sun, 31 Aug 2008 18:18:04 +0000 (20:18 +0200)
committerMichal Vaner <vorner@ucw.cz>
Sun, 31 Aug 2008 18:18:04 +0000 (20:18 +0200)
PciIds/Html/List.pm

index 730f876361cfd63a71678f54d4ac16067978adda..d244e4fe32a573914fd4805228b6669a78022866 100644 (file)
@@ -59,7 +59,10 @@ sub list( $$$$ ) {
                print "<p class='time'>".encode( $time )."\n";
                print "</div>\n";
        }
-       print "</div>\n" if( $diss );
+       if( $diss ) {
+               print "<p><a href='".buildExcept( 'action', $args )."?action=newhistory'>Discuss</a>\n";
+               print "</div>\n" if( $diss );
+       }
        my $url_prefix = $args->{'full_links'} ? 'http://'.$req->hostname() : '';
        unless( $address->leaf() ) {
                print "<h2>Sub-items</h2>\n";