Changed the name of the navigation menus style sheet to confirm to current naming scheme.
svn: r16548
This commit is contained in:
parent
a3cea6e172
commit
7a57179544
@ -1166,7 +1166,7 @@ class BasePage(object):
|
|||||||
|
|
||||||
# Link to Navigation Menus stylesheet
|
# Link to Navigation Menus stylesheet
|
||||||
if CSS[self.report.css]["navigation"]:
|
if CSS[self.report.css]["navigation"]:
|
||||||
fname = "/".join(["styles", "navigation-menus.css"])
|
fname = "/".join(["styles", "narrative-menus.css"])
|
||||||
url = self.report.build_url_fname(fname, None, self.up)
|
url = self.report.build_url_fname(fname, None, self.up)
|
||||||
links += Html("link", href = url, type = "text/css", media = "screen", rel = "stylesheet", indent = False)
|
links += Html("link", href = url, type = "text/css", media = "screen", rel = "stylesheet", indent = False)
|
||||||
|
|
||||||
@ -5813,7 +5813,6 @@ class NavWebReport(Report):
|
|||||||
self.copy_file(fname, "ancestortree.css", "styles")
|
self.copy_file(fname, "ancestortree.css", "styles")
|
||||||
|
|
||||||
# copy screen style sheet
|
# copy screen style sheet
|
||||||
print(CSS[self.css]["filename"])
|
|
||||||
if CSS[self.css]["filename"]:
|
if CSS[self.css]["filename"]:
|
||||||
fname = CSS[self.css]["filename"]
|
fname = CSS[self.css]["filename"]
|
||||||
self.copy_file(fname, _NARRATIVESCREEN, "styles")
|
self.copy_file(fname, _NARRATIVESCREEN, "styles")
|
||||||
@ -5824,7 +5823,7 @@ class NavWebReport(Report):
|
|||||||
fname = CSS["Navigation-Horizontal"]["filename"]
|
fname = CSS["Navigation-Horizontal"]["filename"]
|
||||||
else:
|
else:
|
||||||
fname = CSS["Navigation-Vertical"]["filename"]
|
fname = CSS["Navigation-Vertical"]["filename"]
|
||||||
self.copy_file(fname, "navigation-menus.css", "styles")
|
self.copy_file(fname, "narrative-menus.css", "styles")
|
||||||
|
|
||||||
# copy Mapstraction style sheet if using Place Maps
|
# copy Mapstraction style sheet if using Place Maps
|
||||||
if self.placemappages or self.familymappages:
|
if self.placemappages or self.familymappages:
|
||||||
|
@ -55,7 +55,7 @@ def load_on_reg(dbstate, uistate, plugin):
|
|||||||
|
|
||||||
# Basic Blue style sheet with navigation menus
|
# Basic Blue style sheet with navigation menus
|
||||||
["Basic-Blue", 1, _("Basic-Blue"),
|
["Basic-Blue", 1, _("Basic-Blue"),
|
||||||
os.path.join(dir, "css", 'Web_Basic-Blue.css'), "Web_Navigation-Menus.css", [], []],
|
os.path.join(dir, "css", 'Web_Basic-Blue.css'), "narrative-menus.css", [], []],
|
||||||
|
|
||||||
# Basic Cypress style sheet
|
# Basic Cypress style sheet
|
||||||
["Basic-Cypress", 1, _("Basic-Cypress"),
|
["Basic-Cypress", 1, _("Basic-Cypress"),
|
||||||
@ -87,7 +87,7 @@ def load_on_reg(dbstate, uistate, plugin):
|
|||||||
|
|
||||||
# Visually Impaired style sheet with its navigation menus
|
# Visually Impaired style sheet with its navigation menus
|
||||||
["Visually Impaired", 1, _("Visually Impaired"),
|
["Visually Impaired", 1, _("Visually Impaired"),
|
||||||
os.path.join(dir, "css", 'Web_Visually.css'), "Web_Navigation-Menus.css", [], []],
|
os.path.join(dir, "css", 'Web_Visually.css'), "narrative-menus.css", [], []],
|
||||||
|
|
||||||
# no style sheet option
|
# no style sheet option
|
||||||
["No style sheet",1, _("No style sheet"), [], None, [], []],
|
["No style sheet",1, _("No style sheet"), [], None, [], []],
|
||||||
|
Loading…
Reference in New Issue
Block a user