* src/ReportUtils.py (buried_str): Change the logic to be the same
as in born_str: first test for modified date, then full date, then partial. svn: r5937
This commit is contained in:
parent
8c50ca9c9c
commit
c1b12a893f
@ -1,4 +1,7 @@
|
||||
2006-02-14 Alex Roitman <shura@gramps-project.org>
|
||||
* src/ReportUtils.py (buried_str): Change the logic to be the same
|
||||
as in born_str: first test for modified date, then full date, then
|
||||
partial.
|
||||
* src/docgen/OpenSpreadSheet.py
|
||||
(OpenSpreadSheet._write_meta_file): Properly reference creator string.
|
||||
* src/plugins/EventCmp.py (DisplayChart.on_write_table): Set
|
||||
|
@ -1990,16 +1990,16 @@ def buried_str(database,person,person_name=None,empty_date="",empty_place=""):
|
||||
'modified_date' : bdate,
|
||||
}
|
||||
|
||||
if bdate and bdate_full:
|
||||
if bplace: #male, date, place
|
||||
text = buried_full_date_place[gender][name_index] % values
|
||||
else: #male, date, no place
|
||||
text = buried_full_date_no_place[gender][name_index] % values
|
||||
elif bdate and bdate_mod:
|
||||
if bdate and bdate_mod:
|
||||
if bplace: #male, date, place
|
||||
text = buried_modified_date_place[gender][name_index] % values
|
||||
else: #male, date, no place
|
||||
text = buried_modified_date_no_place[gender][name_index] % values
|
||||
elif bdate and bdate_full:
|
||||
if bplace: #male, date, place
|
||||
text = buried_full_date_place[gender][name_index] % values
|
||||
else: #male, date, no place
|
||||
text = buried_full_date_no_place[gender][name_index] % values
|
||||
elif bdate:
|
||||
if bplace: #male, month_year, place
|
||||
text = buried_partial_date_place[gender][name_index] % values
|
||||
|
Loading…
x
Reference in New Issue
Block a user