This commit is contained in:
Kovid Goyal 2010-10-16 09:18:38 -06:00
parent 9181d87588
commit 1aab3395cc
2 changed files with 7 additions and 3 deletions

View File

@ -214,7 +214,10 @@ h2.library_name {
} }
.toplevel li span { display: none } .toplevel li span.url { display: none }
.toplevel li span.label {
}
/* }}} */ /* }}} */

View File

@ -315,8 +315,9 @@ class BrowseServer(object):
icon = 'blank.png' icon = 'blank.png'
cats.append((meta['name'], category, icon)) cats.append((meta['name'], category, icon))
cats = [('<li title="{2} {0}"><img src="{src}" alt="{0}" /> {0}' cats = [('<li title="{2} {0}"><img src="{src}" alt="{0}" />'
'<span>/browse/category/{1}</span></li>') '<span class="label">{0}</span>'
'<span class="url">/browse/category/{1}</span></li>')
.format(xml(x, True), xml(quote(y)), xml(_('Browse books by')), .format(xml(x, True), xml(quote(y)), xml(_('Browse books by')),
src='/browse/icon/'+z) src='/browse/icon/'+z)
for x, y, z in cats] for x, y, z in cats]