]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/navbar
Maypole::Application supports Maypole::HTTPD (which needs a patch).
[maypole.git] / templates / factory / navbar
index b2dac727dd7af23a6d7f5ff5156b0c59769f4a17..0c8b1683af7a98d60af67ea3ea3da505db56844d 100644 (file)
@@ -12,16 +12,11 @@ accessible, with a link to the list page for each one.
 <ul id="navlist">
 [%
     FOR table = config.display_tables;
-        '<LI '; 'id="active"' IF table == classmetadata.moniker; '>';
-
+        '<li '; 'id="active"' IF table == classmetadata.table; '>';
         # Hack
-        SET active = '" id="current' IF table == classmetadata.moniker;
-
-        link(table, "list", active, table);
-        SET active = "";
-        '</LI>';
+        link(table, "list", "", table);
+        '</li>';
     END;
 %]
 </ul>
 </div> 
-