5969: Remove Gramps ID from title of Individual report
svn: r20625
This commit is contained in:
parent
ad4bf17642
commit
bdb2e632a4
@ -6,7 +6,8 @@
|
|||||||
# Copyright (C) 2009 Nick Hall
|
# Copyright (C) 2009 Nick Hall
|
||||||
# Copyright (C) 2009 Benny Malengier
|
# Copyright (C) 2009 Benny Malengier
|
||||||
# Copyright (C) 2010 Jakim Friant
|
# Copyright (C) 2010 Jakim Friant
|
||||||
# Copyright (C) 2011 Tim G L Lyons
|
# Copyright (C) 2011 Tim G L Lyons
|
||||||
|
# Copyright (C) 2012 Mathieu MD
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -557,7 +558,7 @@ class IndivCompleteReport(Report):
|
|||||||
self.bibli = Bibliography(Bibliography.MODE_DATE|Bibliography.MODE_PAGE)
|
self.bibli = Bibliography(Bibliography.MODE_DATE|Bibliography.MODE_PAGE)
|
||||||
|
|
||||||
media_list = self.person.get_media_list()
|
media_list = self.person.get_media_list()
|
||||||
text = self.get_name(self.person)
|
text = self._name_display.display(self.person)
|
||||||
# feature request 2356: avoid genitive form
|
# feature request 2356: avoid genitive form
|
||||||
title = _("Summary of %s") % text
|
title = _("Summary of %s") % text
|
||||||
mark = IndexMark(title, INDEX_TYPE_TOC, 1)
|
mark = IndexMark(title, INDEX_TYPE_TOC, 1)
|
||||||
@ -569,6 +570,7 @@ class IndivCompleteReport(Report):
|
|||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
|
|
||||||
name = self.person.get_primary_name()
|
name = self.person.get_primary_name()
|
||||||
|
text = self.get_name(self.person)
|
||||||
mark = ReportUtils.get_person_mark(self.database, self.person)
|
mark = ReportUtils.get_person_mark(self.database, self.person)
|
||||||
endnotes = ""
|
endnotes = ""
|
||||||
if self.use_srcs:
|
if self.use_srcs:
|
||||||
|
Loading…
Reference in New Issue
Block a user