Narrativeweb : ancestortree.css link incorrect when use into a CMS.

This commit is contained in:
SNoiraud 2016-08-15 21:56:00 +02:00
parent 1cbb0f990f
commit 4e150e5aba

View File

@ -6285,7 +6285,7 @@ class PersonPages(BasePage):
# graph is being created?
if self.report.options["ancestortree"]:
if self.usecms:
fname = "".join([self.target_uri, "css", "ancestortree.css"])
fname = "/".join([self.target_uri, "css", "ancestortree.css"])
else:
fname = "/".join(["css", "ancestortree.css"])
url = self.report.build_url_fname(fname, None, self.uplink)