annotate templates/gitweb/filelog.tmpl @ 3570:c141d07198b9

Inform the user about the new URL when being redirected via http. Additionally the changed code ensures that the new URL is used, even if it doesn't end with the query string.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 28 Oct 2006 23:05:57 +0200
parents 03e7e8958a27
children 2ee0e935f86d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
1 #header#
1668
586b50294ea8 [hgweb] Added rename information to gitweb templates & misc cleanups
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1650
diff changeset
2 <title>#repo|escape#: File revisions</title>
1576
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
3 <link rel="alternate" type="application/rss+xml"
3270
36fa5db79dd5 hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents: 3226
diff changeset
4 href="{url}rss-log" title="RSS feed for #repo|escape#">
1576
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
5 </head>
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
6 <body>
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
7
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
8 <div class="page_header">
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3350
diff changeset
9 <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / file revisions
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
10 </div>
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
11
1576
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
12 <div class="page_nav">
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3350
diff changeset
13 <a href="{url}summary{sessionvars%urlparameter}">summary</a> |
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3350
diff changeset
14 <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3350
diff changeset
15 <a href="{url}log{sessionvars%urlparameter}">changelog</a> |
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3350
diff changeset
16 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3350
diff changeset
17 <a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">file</a> |
3270
36fa5db79dd5 hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents: 3226
diff changeset
18 revisions |
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3350
diff changeset
19 <a href="{url}annotate/{node|short}/#file|urlescape#{sessionvars%urlparameter}">annotate</a> |
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3350
diff changeset
20 <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
3270
36fa5db79dd5 hgweb: convert gitweb to NWI
Brendan Cully <brendan@kublai.com>
parents: 3226
diff changeset
21 <a href="{url}rss-log/#node|short#/#file|urlescape#">rss</a><br/>
3406
03e7e8958a27 hgweb: hoist changenav up, and use it in the filelog
Brendan Cully <brendan@kublai.com>
parents: 3363
diff changeset
22
03e7e8958a27 hgweb: hoist changenav up, and use it in the filelog
Brendan Cully <brendan@kublai.com>
parents: 3363
diff changeset
23 <br/>
03e7e8958a27 hgweb: hoist changenav up, and use it in the filelog
Brendan Cully <brendan@kublai.com>
parents: 3363
diff changeset
24 {nav%filenaventry}<br/>
1576
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
25 </div>
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
26
2012
d07c322e0033 add missing filename title to gitweb's filelog page
TK Soh <teekaysoh@yahoo.com>
parents: 1668
diff changeset
27 <div class="title" >#file|urlescape#</div>
d07c322e0033 add missing filename title to gitweb's filelog page
TK Soh <teekaysoh@yahoo.com>
parents: 1668
diff changeset
28
1576
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
29 <table>
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
30 #entries%filelogentry#
145cc9f68c05 File log and some FIXMEs
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 1572
diff changeset
31 </table>
1572
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
32
385b8872b8e3 [hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff changeset
33 #footer#