Moved Source Referemces down to the end of IndividualPage().

svn: r18269
This commit is contained in:
Rob G. Healey 2011-10-09 20:01:48 +00:00
parent 40a0a21765
commit bf52123131
2 changed files with 10 additions and 7 deletions

View File

@ -3991,11 +3991,6 @@ class IndividualPage(BasePage):
if assocs: if assocs:
individualdetail += self.display_ind_associations(assocs) individualdetail += self.display_ind_associations(assocs)
# display sources
sect11 = self.display_ind_sources(self.person)
if sect11 is not None:
individualdetail += sect11
# create family map link # create family map link
if self.familymappages: if self.familymappages:
if len(place_lat_long): if len(place_lat_long):
@ -4012,6 +4007,11 @@ class IndividualPage(BasePage):
if sect14 is not None: if sect14 is not None:
individualdetail += sect14 individualdetail += sect14
# display personal sources
personal_sources = self.display_ind_sources(self.person)
if personal_sources is not None:
individualdetail += personal_sources
# add clearline for proper styling # add clearline for proper styling
# create footer section # create footer section
footer = self.write_footer() footer = self.write_footer()
@ -6315,6 +6315,9 @@ class NavWebReport(Report):
Imagine we run gramps on Windows (heaven forbits), we don't want to Imagine we run gramps on Windows (heaven forbits), we don't want to
see backslashes in the URL. see backslashes in the URL.
""" """
if not fname:
return ""
if constfunc.win(): if constfunc.win():
fname = fname.replace('\\',"/") fname = fname.replace('\\',"/")
subdirs = self.build_subdirs(subdir, fname, up) subdirs = self.build_subdirs(subdir, fname, up)

View File

@ -33,8 +33,8 @@ body {
background-color: #000; background-color: #000;
color: #FFF; color: #FFF;
margin: 0 auto; margin: 0 auto;
padding: 5px 2px 5px 2px; padding: 0px 0px 7px 7px;
width: 100%; width: 965px;
} }
/* Navigation /* Navigation