make extra nav and footer follow theme
This commit is contained in:
parent
5b9f515250
commit
fa0b2cbbb6
3 changed files with 27 additions and 19 deletions
|
|
@ -6,7 +6,7 @@
|
|||
<a href="https://fedorahosted.org/koji/"><img src="$util.themePath('images/powered-by-koji.png')" alt="Powered By Koji" id="PoweredByKojiLogo"/></a>
|
||||
</p>
|
||||
|
||||
#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
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
<!-- HEADER -->
|
||||
<div id="header">
|
||||
<img src="$util.themePath('images/koji.png')" alt="Koji Logo" id="kojiLogo"/>
|
||||
#set $localnavpath="/usr/share/koji-web/local/extra-nav.html"
|
||||
#set $localnavpath=$util.themePath("extra-nav.html", local=True)
|
||||
#if os.path.exists($localnavpath)
|
||||
#set $localnav="".join(open($localnavpath).readlines())
|
||||
$localnav
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue