]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/navbar
Use table instead of moniker.
[maypole.git] / templates / factory / navbar
index b2dac727dd7af23a6d7f5ff5156b0c59769f4a17..40050d37c9d30907d9676535542cc2f3f83c9626 100644 (file)
@@ -12,10 +12,10 @@ 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;
+        SET active = '" id="current' IF table == classmetadata.table;
 
         link(table, "list", active, table);
         SET active = "";