]> mj.ucw.cz Git - pciids.git/commitdiff
Mark the item status in more obvious way
authorMichal Vaner <vorner@ucw.cz>
Sun, 31 Aug 2008 18:13:27 +0000 (20:13 +0200)
committerMichal Vaner <vorner@ucw.cz>
Sun, 31 Aug 2008 18:13:27 +0000 (20:13 +0200)
PciIds/Html/List.pm

index 91dc1d73b1821ec33f346195022bc7810066b81c..730f876361cfd63a71678f54d4ac16067978adda 100644 (file)
@@ -30,7 +30,10 @@ sub list( $$$$ ) {
        print "<div class='clear'></div>\n";
        print "</div\n>";
        genPath( $req, $address, 0 );
-       print htmlDiv( 'name', '<p>Name: '.encode( $name ) ) if defined( $name );
+       if( defined $name ) {
+               print '<h2>'.encode( $id ).'</h2>';
+               print htmlDiv( 'name', '<p>Name: '.encode( $name ) );
+       }
        print htmlDiv( 'note', '<p>Note: '.encode( $note ) ) if defined( $note );
        my $diss = 0;
        my $history;