Fixed link to Repository from class SourcePage)_.
svn: r18273
This commit is contained in:
@@ -3575,16 +3575,18 @@ class SourcePage(BasePage):
|
|||||||
reposection += ordered
|
reposection += ordered
|
||||||
|
|
||||||
for repo_ref in repo_ref_list:
|
for repo_ref in repo_ref_list:
|
||||||
repository = db.get_repository_from_handle( repo_ref.ref )
|
repository = db.get_repository_from_handle(repo_ref.ref)
|
||||||
list = Html("li", self.repository_link( repository.handle,
|
list = Html("li", self.repository_link(repository.get_handle(),
|
||||||
repository.name,
|
repository.name,
|
||||||
inc_repos,
|
inc_repos,
|
||||||
repository.gramps_id,
|
repository.get_gramps_id(),
|
||||||
up = True ) )
|
up =True)
|
||||||
|
)
|
||||||
ordered += list
|
ordered += list
|
||||||
|
|
||||||
# references
|
# references
|
||||||
references = self.display_references(src_list[source.handle])
|
references = self.display_references(src_list[source.get_handle()]
|
||||||
|
)
|
||||||
if references is not None:
|
if references is not None:
|
||||||
srcdetail += references
|
srcdetail += references
|
||||||
|
|
||||||
@@ -6321,6 +6323,7 @@ class NavWebReport(Report):
|
|||||||
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)
|
||||||
|
|
||||||
return "/".join(subdirs + [fname])
|
return "/".join(subdirs + [fname])
|
||||||
|
|
||||||
def create_file(self, fname, subdir = None, ext = None):
|
def create_file(self, fname, subdir = None, ext = None):
|
||||||
|
Reference in New Issue
Block a user