diff templates/index.tmpl @ 2173:d1943df604c4

Make hgwebdir columns sortable.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 01 May 2006 18:38:25 +0200
parents a33a7a543803
children
line wrap: on
line diff
--- a/templates/index.tmpl	Mon May 01 10:04:25 2006 +0200
+++ b/templates/index.tmpl	Mon May 01 18:38:25 2006 +0200
@@ -7,10 +7,10 @@
 
 <table>
     <tr>
-        <td>Name</td>
-        <td>Description</td>
-        <td>Contact</td>
-        <td>Last change</td>
+        <td><a href="?sort=#sort_name#">Name</a></td>
+        <td><a href="?sort=#sort_description#">Description</a></td>
+        <td><a href="?sort=#sort_contact#">Contact</a></td>
+        <td><a href="?sort=#sort_lastchange#">Last change</a></td>
         <td>&nbsp;</td>
     <tr>
     #entries%indexentry#