Create Addressbook Page, even if no addresses if it is checked; center mainz addressbook pages
svn: r15156
This commit is contained in:
parent
8f3d0564d7
commit
62e612da4f
@ -842,7 +842,7 @@ div#RepositoryList table.repolist tbody tr td.ColumnName {
|
|||||||
/* Address Book
|
/* Address Book
|
||||||
------------------------------------------------------ */
|
------------------------------------------------------ */
|
||||||
div#AddressBookList, AddressBookDetail {
|
div#AddressBookList, AddressBookDetail {
|
||||||
margin: 0;
|
margin: auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
div#AddressBookList table.addressbook {
|
div#AddressBookList table.addressbook {
|
||||||
|
@ -5432,14 +5432,13 @@ class NavWebReport(Report):
|
|||||||
data = (sort_name, person_handle, has_add, has_res, has_url)
|
data = (sort_name, person_handle, has_add, has_res, has_url)
|
||||||
has_url_address.append(data)
|
has_url_address.append(data)
|
||||||
|
|
||||||
|
AddressBookListPage(self, self.title, has_url_address)
|
||||||
# Determine if we build Address Book
|
# Determine if we build Address Book
|
||||||
if has_url_address:
|
if has_url_address:
|
||||||
has_url_address.sort()
|
has_url_address.sort()
|
||||||
|
|
||||||
self.progress.set_pass(_("Creating address book pages ..."), len(has_url_address))
|
self.progress.set_pass(_("Creating address book pages ..."), len(has_url_address))
|
||||||
|
|
||||||
AddressBookListPage(self, self.title, has_url_address)
|
|
||||||
|
|
||||||
for (sort_name, person_handle, has_add, has_res, has_url) in has_url_address:
|
for (sort_name, person_handle, has_add, has_res, has_url) in has_url_address:
|
||||||
self.progress.step()
|
self.progress.step()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user