Mercurial > hg
comparison mercurial/templates/paper/helptopics.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 | 38c9837b1f75 |
children | 44382887d012 |
comparison
equal
deleted
inserted
replaced
13962:8b252e826c68 | 13964:616ad3f6fd33 |
---|---|
8 <body> | 8 <body> |
9 | 9 |
10 <div class="container"> | 10 <div class="container"> |
11 <div class="menu"> | 11 <div class="menu"> |
12 <div class="logo"> | 12 <div class="logo"> |
13 <a href="http://mercurial.selenic.com/"> | 13 <a href="{logourl}"> |
14 <img src="{staticurl}hglogo.png" alt="mercurial" /></a> | 14 <img src="{staticurl}hglogo.png" alt="mercurial" /></a> |
15 </div> | 15 </div> |
16 <ul> | 16 <ul> |
17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> | 17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> |
18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> | 18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> |