Mercurial > hg
comparison mercurial/templates/gitweb/notfound.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 | 9409aeaafdc1 |
comparison
equal
deleted
inserted
replaced
13962:8b252e826c68 | 13964:616ad3f6fd33 |
---|---|
3 </head> | 3 </head> |
4 | 4 |
5 <body> | 5 <body> |
6 | 6 |
7 <div class="page_header"> | 7 <div class="page_header"> |
8 <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a> Not found: {repo|escape} | 8 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> Not found: {repo|escape} |
9 </div> | 9 </div> |
10 | 10 |
11 <div class="page_body"> | 11 <div class="page_body"> |
12 The specified repository "{repo|escape}" is unknown, sorry. | 12 The specified repository "{repo|escape}" is unknown, sorry. |
13 <br/> | 13 <br/> |