comparison mercurial/templates/gitweb/filediff.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 fd8a6ca3a750
children a7ba57b10530
comparison
equal deleted inserted replaced
13962:8b252e826c68 13964:616ad3f6fd33
6 href="{url}rss-log" title="RSS feed for {repo|escape}"/> 6 href="{url}rss-log" title="RSS feed for {repo|escape}"/>
7 </head> 7 </head>
8 <body> 8 <body>
9 9
10 <div class="page_header"> 10 <div class="page_header">
11 <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / diff 11 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / diff
12 </div> 12 </div>
13 13
14 <div class="page_nav"> 14 <div class="page_nav">
15 <a href="{url}summary{sessionvars%urlparameter}">summary</a> | 15 <a href="{url}summary{sessionvars%urlparameter}">summary</a> |
16 <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | 16 <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |