Mercurial > hg
comparison mercurial/templates/gitweb/shortlog.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 | bebb05a7e249 |
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> / shortlog | 11 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / shortlog |
12 </div> | 12 </div> |
13 | 13 |
14 <form action="{url}log"> | 14 <form action="{url}log"> |
15 {sessionvars%hiddenformentry} | 15 {sessionvars%hiddenformentry} |
16 <div class="search"> | 16 <div class="search"> |