Mercurial > hg
diff templates/gitweb/manifest.tmpl @ 8427:cebdfdcc3e42
git: use newer template syntax everywhere
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 15 May 2009 10:46:39 +0200 |
parents | 439663cd043a |
children | 1de6e7e1bb9f |
line wrap: on
line diff
--- a/templates/gitweb/manifest.tmpl Fri May 15 00:55:14 2009 +0200 +++ b/templates/gitweb/manifest.tmpl Fri May 15 10:46:39 2009 +0200 @@ -1,14 +1,14 @@ -#header# -<title>#repo|escape#: files</title> +{header} +<title>{repo|escape}: files</title> <link rel="alternate" type="application/atom+xml" - href="{url}atom-log" title="Atom feed for #repo|escape#"/> + href="{url}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" - href="{url}rss-log" title="RSS feed for #repo|escape#"/> + href="{url}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> <div class="page_header"> -<a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / files +<a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / files </div> <div class="page_nav"> @@ -19,20 +19,20 @@ <a href="{url}tags{sessionvars%urlparameter}">tags</a> | <a href="{url}branches{sessionvars%urlparameter}">branches</a> | files | -<a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> #archives%archiveentry#<br/> +<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> {archives%archiveentry}<br/> </div> -<div class="title">#path|escape# <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></div> +<div class="title">{path|escape} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span></div> <table cellspacing="0"> -<tr class="parity#upparity#"> +<tr class="parity{upparity}"> <td style="font-family:monospace">drwxr-xr-x</td> <td style="font-family:monospace"></td> <td style="font-family:monospace"></td> -<td><a href="{url}file/#node|short##up|urlescape#{sessionvars%urlparameter}">[up]</a></td> +<td><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td> <td class="link"> </td> </tr> -#dentries%direntry# -#fentries%fileentry# +{dentries%direntry} +{fentries%fileentry} </table> -#footer# +{footer}