Started the switch from hand-written URLs to uri_for.
[catagits/Gitalist.git] / templates / summary.tt2
index f320ffc..7ccf7af 100644 (file)
@@ -1,4 +1,4 @@
-[% PROCESS 'commit-nav.tt2' object = head %]
+[% PROCESS 'nav/actions.tt2' object = head %]
 
 <div class='summary'>
 <dl>
@@ -9,11 +9,11 @@
 </div>
 
 <div class='shortlog'>
-<h2><a href='/shortlog?p=[% project %]'>shortlog</a></h2>
+<h2><a href='[% c.uri_for('shortlog') %]'>shortlog</a></h2>
 [% INCLUDE '_shortlog.tt2' %]
 </div>
 
 <div class='heads'>
-<h2><a href='/heads?p=[% project %]'>heads</a></h2>
+<h2><a href='[% c.uri_for('heads') %]'>heads</a></h2>
 [% INCLUDE '_heads.tt2' %]
 </div>