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:
parent
11eed9f1b0
commit
9b619a5bc3
@ -142,7 +142,6 @@ h5, h6 {
|
|||||||
font-style:italic;
|
font-style:italic;
|
||||||
margin:1.3em 0 .5em 1em;
|
margin:1.3em 0 .5em 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
p#description {
|
p#description {
|
||||||
max-width:800px;
|
max-width:800px;
|
||||||
margin:0;
|
margin:0;
|
||||||
@ -374,7 +373,7 @@ table.infolist thead tr th {
|
|||||||
margin:0;
|
margin:0;
|
||||||
padding:.2em 10px;
|
padding:.2em 10px;
|
||||||
background-color:#6AF364;
|
background-color:#6AF364;
|
||||||
border-bottom:solid 1px #000;
|
border-bottom:solid 2px #000;
|
||||||
}
|
}
|
||||||
table.infolist thead tr th a {
|
table.infolist thead tr th a {
|
||||||
background-color:#6AF364;
|
background-color:#6AF364;
|
||||||
@ -387,7 +386,6 @@ table.infolist tr td {
|
|||||||
font:normal 1.1em/1.4em serif;
|
font:normal 1.1em/1.4em serif;
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
padding:.1em 10px;
|
padding:.1em 10px;
|
||||||
background-color:#D8F3D6;
|
|
||||||
}
|
}
|
||||||
table.infolist tr td a {
|
table.infolist tr td a {
|
||||||
display:block;
|
display:block;
|
||||||
|
@ -2453,6 +2453,7 @@ class SourceListPage(BasePage):
|
|||||||
# begin sourcelist table and table head
|
# begin sourcelist table and table head
|
||||||
with Html('table', class_='infolist sourcelist') as table:
|
with Html('table', class_='infolist sourcelist') as table:
|
||||||
section += table
|
section += table
|
||||||
|
|
||||||
thead = Html('thead')
|
thead = Html('thead')
|
||||||
table += thead
|
table += thead
|
||||||
trow = Html('tr')
|
trow = Html('tr')
|
||||||
@ -2460,9 +2461,7 @@ class SourceListPage(BasePage):
|
|||||||
|
|
||||||
for (label, colclass) in [
|
for (label, colclass) in [
|
||||||
(None, 'RowLabel'),
|
(None, 'RowLabel'),
|
||||||
(_('Name'), 'Name'),
|
(_('Name'), 'Name') ]:
|
||||||
(DHEAD, 'Date'),
|
|
||||||
(_('Page/ Volume'), 'Page') ]:
|
|
||||||
|
|
||||||
label = label or ' '
|
label = label or ' '
|
||||||
trow += Html('th', label, class_='Column%s' % colclass, inline=True)
|
trow += Html('th', label, class_='Column%s' % colclass, inline=True)
|
||||||
@ -2973,7 +2972,7 @@ class IndividualPage(BasePage):
|
|||||||
# display associations
|
# display associations
|
||||||
assocs = self.person.get_person_ref_list()
|
assocs = self.person.get_person_ref_list()
|
||||||
if assocs:
|
if assocs:
|
||||||
Individualdetail += self.display_ind_associations(assocs)
|
individualdetail += self.display_ind_associations(assocs)
|
||||||
|
|
||||||
# display pedigree
|
# display pedigree
|
||||||
sect13 = self.display_ind_pedigree()
|
sect13 = self.display_ind_pedigree()
|
||||||
@ -3187,7 +3186,6 @@ class IndividualPage(BasePage):
|
|||||||
index += 1
|
index += 1
|
||||||
|
|
||||||
# return section to its callers
|
# return section to its callers
|
||||||
section.write()
|
|
||||||
return section
|
return section
|
||||||
|
|
||||||
def display_ind_pedigree(self):
|
def display_ind_pedigree(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user