add an id to the categories <ul> elements (#4784)

This commit is contained in:
Frédéric Péters 2014-04-30 11:42:16 +02:00
parent f0a16e7e6f
commit afbddd0e72
1 changed files with 1 additions and 1 deletions

View File

@ -1001,7 +1001,7 @@ class AlternateRootDirectory(OldRootDirectory):
if not formdefs and not formdefs_advertise:
continue
r += htmltext('<li>')
r += htmltext('<li id="category-%s">') % category.url_name
r += htmltext('<strong>')
r += htmltext('<a href="%s/">') % category.url_name
r += category.name