comparison mercurial/templates/gitweb/graph.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
comparison
equal deleted inserted replaced
13962:8b252e826c68 13964:616ad3f6fd33
7 <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]--> 7 <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]-->
8 </head> 8 </head>
9 <body> 9 <body>
10 10
11 <div class="page_header"> 11 <div class="page_header">
12 <a href="http://mercurial.selenic.com/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / graph 12 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / graph
13 </div> 13 </div>
14 14
15 <form action="{url}log"> 15 <form action="{url}log">
16 {sessionvars%hiddenformentry} 16 {sessionvars%hiddenformentry}
17 <div class="search"> 17 <div class="search">