diff templates/gitweb/graph.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/graph.tmpl	Fri May 15 00:55:14 2009 +0200
+++ b/templates/gitweb/graph.tmpl	Fri May 15 10:46:39 2009 +0200
@@ -1,15 +1,15 @@
-#header#
-<title>#repo|escape#: Graph</title>
+{header}
+<title>{repo|escape}: Graph</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}"/>
 <!--[if IE]><script type="text/javascript" src="{staticurl}excanvas.js"></script><![endif]-->
 </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> / graph
+<a href="http://www.selenic.com/mercurial/" title="Mercurial" style="float: right;">Mercurial</a><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / graph
 </div>
 
 <form action="{url}log">
@@ -21,15 +21,15 @@
 <div class="page_nav">
 <a href="{url}summary{sessionvars%urlparameter}">summary</a> |
 <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> |
-<a href="{url}log/#rev#{sessionvars%urlparameter}">changelog</a> |
+<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a> |
 graph |
 <a href="{url}tags{sessionvars%urlparameter}">tags</a> |
 <a href="{url}branches{sessionvars%urlparameter}">branches</a> |
-<a href="{url}file/#node|short#{sessionvars%urlparameter}">files</a>
+<a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
 <br/>
 <a href="{url}graph/{rev}{lessvars%urlparameter}">less</a>
 <a href="{url}graph/{rev}{morevars%urlparameter}">more</a>
-| #changenav%navgraphentry#<br/>
+| {changenav%navgraphentry}<br/>
 </div>
 
 <div class="title">&nbsp;</div>
@@ -38,11 +38,11 @@
 
 <div id="wrapper">
 <ul id="nodebgs"></ul>
-<canvas id="graph" width="224" height="#canvasheight#"></canvas>
+<canvas id="graph" width="224" height="{canvasheight}"></canvas>
 <ul id="graphnodes"></ul>
 </div>
 
-<script type="text/javascript" src="#staticurl#graph.js"></script>
+<script type="text/javascript" src="{staticurl}graph.js"></script>
 <script>
 <!-- hide script content
 
@@ -118,4 +118,4 @@
 | {changenav%navgraphentry}
 </div>
 
-#footer#
+{footer}