From fa0b2cbbb627be8efea918ed03a0a33862affba7 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Sat, 21 Jan 2012 21:09:53 -0500 Subject: [PATCH] make extra nav and footer follow theme --- www/kojiweb/includes/footer.chtml | 2 +- www/kojiweb/includes/header.chtml | 2 +- www/lib/kojiweb/util.py | 42 ++++++++++++++++++------------- 3 files changed, 27 insertions(+), 19 deletions(-) diff --git a/www/kojiweb/includes/footer.chtml b/www/kojiweb/includes/footer.chtml index 058c88b9..9e8b2d9d 100644 --- a/www/kojiweb/includes/footer.chtml +++ b/www/kojiweb/includes/footer.chtml @@ -6,7 +6,7 @@

-#set $localfooterpath="/usr/share/koji-web/local/extra-footer.html" +#set $localfooterpath=$util.themePath("extra-footer.html", local=True) #if os.path.exists($localfooterpath) #set $localfooter="".join(open($localfooterpath).readlines()) $localfooter diff --git a/www/kojiweb/includes/header.chtml b/www/kojiweb/includes/header.chtml index 850250d5..ff04063f 100644 --- a/www/kojiweb/includes/header.chtml +++ b/www/kojiweb/includes/header.chtml @@ -47,7 +47,7 @@