Mercurial > hg
annotate mercurial/templates/paper/branches.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 | 38c9837b1f75 |
children | 44382887d012 |
rev | line source |
---|---|
8353 | 1 {header} |
2 <title>{repo|escape}: branches</title> | |
3 <link rel="alternate" type="application/atom+xml" | |
4 href="{url}atom-tags" title="Atom feed for {repo|escape}: branches" /> | |
5 <link rel="alternate" type="application/rss+xml" | |
6 href="{url}rss-tags" title="RSS feed for {repo|escape}: branches" /> | |
7 </head> | |
8 <body> | |
9 | |
10 <div class="container"> | |
11 <div class="menu"> | |
12 <div class="logo"> | |
13964
616ad3f6fd33
hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com>
parents:
13597
diff
changeset
|
13 <a href="{logourl}"> |
8353 | 14 <img src="{staticurl}hglogo.png" alt="mercurial" /></a> |
15 </div> | |
16 <ul> | |
17 <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> | |
18 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> | |
19 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |
13597
38c9837b1f75
hgweb: add separate page with bookmarks listing
Alexander Solovyov <alexander@solovyov.net>
parents:
13176
diff
changeset
|
20 <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> |
8353 | 21 <li class="active">branches</li> |
22 </ul> | |
12846
4b334f8c941b
templates: fix inconsistency in 'help' link
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
9999
diff
changeset
|
23 <ul> |
4b334f8c941b
templates: fix inconsistency in 'help' link
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
9999
diff
changeset
|
24 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> |
4b334f8c941b
templates: fix inconsistency in 'help' link
Pradeepkumar Gayam <in3xes@gmail.com>
parents:
9999
diff
changeset
|
25 </ul> |
8353 | 26 </div> |
27 | |
28 <div class="main"> | |
29 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> | |
30 <h3>branches</h3> | |
31 | |
32 <form class="search" action="{url}log"> | |
33 {sessionvars%hiddenformentry} | |
34 <p><input name="rev" id="search1" type="text" size="30" /></p> | |
35 <div id="hint">find changesets by author, revision, | |
36 files, or words in the commit message</div> | |
37 </form> | |
38 | |
39 <table class="bigtable"> | |
40 <tr> | |
41 <th>branch</th> | |
42 <th>node</th> | |
43 </tr> | |
13176
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
44 {entries % |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
45 ' <tr class="tagEntry parity{parity}"> |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
46 <td> |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
47 <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
48 {branch|escape} |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
49 </a> |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
50 </td> |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
51 <td class="node"> |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
52 {node|short} |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
53 </td> |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
54 </tr>' |
895f54a79c6e
templater: use the parser.py parser to extend the templater syntax
Matt Mackall <mpm@selenic.com>
parents:
12846
diff
changeset
|
55 } |
8353 | 56 </table> |
57 </div> | |
58 </div> | |
59 | |
60 {footer} |