Fixed issue on SourcePage Citation Referents not displaying the person's name.

svn: r18817
This commit is contained in:
Rob G. Healey 2012-02-03 07:19:59 +00:00
parent ed5a1aa258
commit 8105d88233
2 changed files with 6 additions and 8 deletions

View File

@ -2459,7 +2459,7 @@ class BasePage(object):
if name_style:
person_name = self.get_name(person)
elif name_style == False:
person_name = 4642
person_name = _get_short_name(person.get_gender(), person.get_primary_name())
elif name_style == None: # abnormal specialty situation
person_name = person
@ -2478,14 +2478,12 @@ class BasePage(object):
# 3. insert the person's name
hyper += person_name
# 3. insert gramps id if requested and available
# 3. insert gramps ID if requested and available?
if (not self.noid and gid):
hyper += Html("span", " [%s]" % gid, class_ = "grampsid", inline = True)
else:
hyper = " "
# return hyperlink to its caller
return hyper
def media_link(self, media_handle, img_url, name, uplink = False, usedescr = True):

View File

@ -43,11 +43,11 @@ div#header {
------------------------------------------------------ */
#dropmenu {
width: 100%;
margin: 0;
margin: 0 auto;
padding: 10px 0 0 0;
list-style: none;
background: #111;
background: -moz-linear-gradient(#444, #111);
list-style-type: none;
background: #00029D;
background: -moz-linear-gradient(#444, #00029D);
background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
background: -webkit-linear-gradient(#444, #111);
background: -o-linear-gradient(#444, #111);