Fixed problem in associations, fixed class SourceListPage and fixed problem in stylesheet. Errors brought to me from Peter Lundgren. Thanks again.

svn: r13026
This commit is contained in:
Rob G. Healey 2009-08-15 20:28:22 +00:00
parent 11eed9f1b0
commit 9b619a5bc3
2 changed files with 5 additions and 9 deletions

View File

@ -142,7 +142,6 @@ h5, h6 {
font-style:italic;
margin:1.3em 0 .5em 1em;
}
p#description {
max-width:800px;
margin:0;
@ -374,7 +373,7 @@ table.infolist thead tr th {
margin:0;
padding:.2em 10px;
background-color:#6AF364;
border-bottom:solid 1px #000;
border-bottom:solid 2px #000;
}
table.infolist thead tr th a {
background-color:#6AF364;
@ -387,7 +386,6 @@ table.infolist tr td {
font:normal 1.1em/1.4em serif;
vertical-align:middle;
padding:.1em 10px;
background-color:#D8F3D6;
}
table.infolist tr td a {
display:block;

View File

@ -2453,6 +2453,7 @@ class SourceListPage(BasePage):
# begin sourcelist table and table head
with Html('table', class_='infolist sourcelist') as table:
section += table
thead = Html('thead')
table += thead
trow = Html('tr')
@ -2460,9 +2461,7 @@ class SourceListPage(BasePage):
for (label, colclass) in [
(None, 'RowLabel'),
(_('Name'), 'Name'),
(DHEAD, 'Date'),
(_('Page/ Volume'), 'Page') ]:
(_('Name'), 'Name') ]:
label = label or ' '
trow += Html('th', label, class_='Column%s' % colclass, inline=True)
@ -2972,8 +2971,8 @@ class IndividualPage(BasePage):
# display associations
assocs = self.person.get_person_ref_list()
if assocs:
Individualdetail += self.display_ind_associations(assocs)
if assocs:
individualdetail += self.display_ind_associations(assocs)
# display pedigree
sect13 = self.display_ind_pedigree()
@ -3187,7 +3186,6 @@ class IndividualPage(BasePage):
index += 1
# return section to its callers
section.write()
return section
def display_ind_pedigree(self):