comparison mercurial/templates/paper/changeset.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 ebe1ddbbefd7
children b24e5a708fad
comparison
equal deleted inserted replaced
13962:8b252e826c68 13964:616ad3f6fd33
3 </head> 3 </head>
4 <body> 4 <body>
5 <div class="container"> 5 <div class="container">
6 <div class="menu"> 6 <div class="menu">
7 <div class="logo"> 7 <div class="logo">
8 <a href="http://mercurial.selenic.com/"> 8 <a href="{logourl}">
9 <img src="{staticurl}hglogo.png" alt="mercurial" /></a> 9 <img src="{staticurl}hglogo.png" alt="mercurial" /></a>
10 </div> 10 </div>
11 <ul> 11 <ul>
12 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> 12 <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li>
13 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> 13 <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li>