Mercurial > hg
changeset 9882:b3b57ecbda50
gitweb: add a latest link to the gitweb style
author | Zhigang Wang <w1z2g3@gmail.com> |
---|---|
date | Wed, 18 Nov 2009 20:14:17 +0100 |
parents | 54b518fc6671 |
children | 0a8a43b4ca75 |
files | templates/gitweb/fileannotate.tmpl templates/gitweb/filediff.tmpl templates/gitweb/filerevision.tmpl |
diffstat | 3 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/gitweb/fileannotate.tmpl Wed Nov 18 12:47:58 2009 +0100 +++ b/templates/gitweb/fileannotate.tmpl Wed Nov 18 20:14:17 2009 +0100 @@ -21,6 +21,7 @@ <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | +<a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | annotate | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
--- a/templates/gitweb/filediff.tmpl Wed Nov 18 12:47:58 2009 +0100 +++ b/templates/gitweb/filediff.tmpl Wed Nov 18 20:14:17 2009 +0100 @@ -21,6 +21,7 @@ <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | +<a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | diff |
--- a/templates/gitweb/filerevision.tmpl Wed Nov 18 12:47:58 2009 +0100 +++ b/templates/gitweb/filerevision.tmpl Wed Nov 18 20:14:17 2009 +0100 @@ -21,6 +21,7 @@ <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a> | <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | file | +<a href="{url}file/tip/{file|urlescape}{sessionvars%urlparameter}">latest</a> | <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> | <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |