Mercurial > hg
view mercurial/templates/monoblue/footer.tmpl @ 13964:616ad3f6fd33
hgweb: support alternate logo url
Clicking on the logo image/text in the hgweb interface brings the
user to the Mercurial project page. The majority of users expect that
this would bring them to the top level index. I have added a new template
variable named `logourl' which allows an administrator to change this
behavior. To stay compatible with existing behavior, `logourl' will
default to http://mercurial.selenic.com/. This change is very useful in
large installations where jumping to the index is common.
author | Steven Stallion <sstallion@gmail.com> |
---|---|
date | Tue, 19 Apr 2011 23:37:06 -0400 |
parents | f91e5630ce7e |
children | b24e5a708fad |
line wrap: on
line source
<div class="page-footer"> <p>Mercurial Repository: {repo|escape}</p> <ul class="rss-logo"> <li><a href="{url}rss-log">RSS</a></li> <li><a href="{url}atom-log">Atom</a></li> </ul> {motd} </div> <div id="powered-by"> <p><a href="{logourl}" title="Mercurial"><img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a></p> </div> <div id="corner-top-left"></div> <div id="corner-top-right"></div> <div id="corner-bottom-left"></div> <div id="corner-bottom-right"></div> </div> </body> </html>