bug #2737 - remove alphabet navigation from surnames_count web page

svn: r12088
This commit is contained in:
Stéphane Charette 2009-02-23 02:04:55 +00:00
parent d6d7855caa
commit c1274ebdef

View File

@ -1470,13 +1470,11 @@ class SurnameListPage(BasePage):
if order_by == self.ORDER_BY_NAME:
of = self.report.create_file(filename)
self.write_header(of, _('Surnames'))
self.alphabet_navigation(of, db, person_handle_list, _PERSON)
else:
of = self.report.create_file("surnames_count")
self.write_header(of, _('Surnames by person count'))
# begin alphabetic navigation
self.alphabet_navigation(of, db, person_handle_list, _PERSON)
of.write('<div id="Surnames" class="content">\n')
of.write('\t<p id="description">%s</p>\n' % _(