Delete media objects added, revision control shows who the committer is.

svn: r503
This commit is contained in:
Don Allingham
2001-10-20 20:42:38 +00:00
parent f300e008ff
commit a53b0b5e14
7 changed files with 252 additions and 46 deletions

View File

@@ -75,6 +75,17 @@ def phonebook_name(person):
else:
return ""
def family_name(family):
father = family.getFather()
mother = family.getMother()
if father and mother:
name = _("%s and %s") % (father.getPrimaryName().getName(),mother.getPrimaryName().getName())
elif father:
name = father.getPrimaryName().getName()
else:
name = mother.getPrimaryName().getName()
return name
#-------------------------------------------------------------------------
#
# Short hand function to return either the person's name, or an empty