* 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:
@@ -1,4 +1,7 @@
|
|||||||
2006-02-14 Alex Roitman <shura@gramps-project.org>
|
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
|
* src/docgen/OpenSpreadSheet.py
|
||||||
(OpenSpreadSheet._write_meta_file): Properly reference creator string.
|
(OpenSpreadSheet._write_meta_file): Properly reference creator string.
|
||||||
* src/plugins/EventCmp.py (DisplayChart.on_write_table): Set
|
* 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,
|
'modified_date' : bdate,
|
||||||
}
|
}
|
||||||
|
|
||||||
if bdate and bdate_full:
|
if bdate and bdate_mod:
|
||||||
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 bplace: #male, date, place
|
if bplace: #male, date, place
|
||||||
text = buried_modified_date_place[gender][name_index] % values
|
text = buried_modified_date_place[gender][name_index] % values
|
||||||
else: #male, date, no place
|
else: #male, date, no place
|
||||||
text = buried_modified_date_no_place[gender][name_index] % values
|
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:
|
elif bdate:
|
||||||
if bplace: #male, month_year, place
|
if bplace: #male, month_year, place
|
||||||
text = buried_partial_date_place[gender][name_index] % values
|
text = buried_partial_date_place[gender][name_index] % values
|
||||||
|
|||||||
Reference in New Issue
Block a user