diff mercurial/templates/gitweb/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 fd8a6ca3a750
children b24e5a708fad
line wrap: on
line diff
--- a/mercurial/templates/gitweb/changeset.tmpl	Tue Apr 19 12:42:53 2011 +0200
+++ b/mercurial/templates/gitweb/changeset.tmpl	Tue Apr 19 23:37:06 2011 -0400
@@ -8,7 +8,7 @@
 <body>
 
 <div class="page_header">
-<a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / changeset
+<a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / changeset
 </div>
 
 <div class="page_nav">