Fixed issue on SourcePage Citation Referents not displaying the person's name.
svn: r18817
This commit is contained in:
parent
ed5a1aa258
commit
8105d88233
@ -2459,7 +2459,7 @@ class BasePage(object):
|
|||||||
if name_style:
|
if name_style:
|
||||||
person_name = self.get_name(person)
|
person_name = self.get_name(person)
|
||||||
elif name_style == False:
|
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
|
elif name_style == None: # abnormal specialty situation
|
||||||
person_name = person
|
person_name = person
|
||||||
@ -2478,14 +2478,12 @@ class BasePage(object):
|
|||||||
# 3. insert the person's name
|
# 3. insert the person's name
|
||||||
hyper += person_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):
|
if (not self.noid and gid):
|
||||||
hyper += Html("span", " [%s]" % gid, class_ = "grampsid", inline = True)
|
hyper += Html("span", " [%s]" % gid, class_ = "grampsid", inline = True)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
hyper = " "
|
hyper = " "
|
||||||
|
|
||||||
# return hyperlink to its caller
|
|
||||||
return hyper
|
return hyper
|
||||||
|
|
||||||
def media_link(self, media_handle, img_url, name, uplink = False, usedescr = True):
|
def media_link(self, media_handle, img_url, name, uplink = False, usedescr = True):
|
||||||
|
@ -43,11 +43,11 @@ div#header {
|
|||||||
------------------------------------------------------ */
|
------------------------------------------------------ */
|
||||||
#dropmenu {
|
#dropmenu {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0 auto;
|
||||||
padding: 10px 0 0 0;
|
padding: 10px 0 0 0;
|
||||||
list-style: none;
|
list-style-type: none;
|
||||||
background: #111;
|
background: #00029D;
|
||||||
background: -moz-linear-gradient(#444, #111);
|
background: -moz-linear-gradient(#444, #00029D);
|
||||||
background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
|
background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
|
||||||
background: -webkit-linear-gradient(#444, #111);
|
background: -webkit-linear-gradient(#444, #111);
|
||||||
background: -o-linear-gradient(#444, #111);
|
background: -o-linear-gradient(#444, #111);
|
||||||
|
Loading…
Reference in New Issue
Block a user