import additional local nav/footer code

This commit is contained in:
Anthony Towns 2011-03-15 13:50:39 +10:00 committed by Mike McLean
parent 8a5eff50db
commit 8a28e6de43
2 changed files with 11 additions and 0 deletions

View file

@ -5,6 +5,12 @@
<a href="https://fedorahosted.org/koji/"><img src="/koji-static/images/powered-by-koji.png" alt="Powered By Koji" id="PoweredByKojiLogo"/></a>
</p>
#set $localfooterpath="/usr/share/koji-web/local/extra-footer.html"
#if os.path.exists($localfooterpath)
#set $localfooter="".join(open($localfooterpath).readlines())
$localfooter
#end if
</div>
</div>

View file

@ -46,6 +46,11 @@
<!-- HEADER -->
<div id="header">
<img src="/koji-static/images/koji.png" alt="Koji Logo" id="kojiLogo"/>
#set $localnavpath="/usr/share/koji-web/local/extra-nav.html"
#if os.path.exists($localnavpath)
#set $localnav="".join(open($localnavpath).readlines())
$localnav
#end if
<form action="search" id="headerSearch">
<input type="hidden" name="match" value="glob"/>
<select name="type">