From 8105d88233dae379baced87f0a9d22fdbfb47ef3 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Fri, 3 Feb 2012 07:19:59 +0000 Subject: [PATCH] Fixed issue on SourcePage Citation Referents not displaying the person's name. svn: r18817 --- src/plugins/webreport/NarrativeWeb.py | 6 ++---- src/plugins/webstuff/css/Web_DropDown-Menus.css | 8 ++++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index a1c6271eb..1c9d68aa3 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -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): diff --git a/src/plugins/webstuff/css/Web_DropDown-Menus.css b/src/plugins/webstuff/css/Web_DropDown-Menus.css index bc3dd5b01..7587cce7e 100644 --- a/src/plugins/webstuff/css/Web_DropDown-Menus.css +++ b/src/plugins/webstuff/css/Web_DropDown-Menus.css @@ -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);