Add support to multiple repositories [PATCH 2/3]

Goffredo Baroncelli kreijack at aliceposta.it
Wed Aug 17 11:40:14 CDT 2005


This patch add some stuffs on the template which are used by the multiple_index.cgi script

diff -r 302f83b85054 -r f4e1e30e2d9d templates/map
--- a/templates/map     Mon Aug 15 19:46:41 2005
+++ b/templates/map     Wed Aug 17 15:26:36 2005
@@ -35,3 +35,5 @@
 changesettag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>"
 filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>"
 filelogparent = "<tr><td align="right">parent #rev#:&nbsp;</td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
+indexentries = "<tr class="parity#parity#"><td><a  href="#url#">#name#</a></td> <td>#description#</td><td>#author# <i>#email|obfuscate#</i></td> <td>#lastupdate|age# ago</td></tr>"
+multiple_index = multiple_index.tmpl
diff -r 302f83b85054 -r f4e1e30e2d9d templates/multiple_index.tmpl
--- /dev/null   Mon Aug 15 19:46:41 2005
+++ b/templates/multiple_index.tmpl     Wed Aug 17 15:26:36 2005
@@ -0,0 +1,19 @@
+#header#
+<title>Mercurial repositories index</title>
+</head>
+<body>
+
+
+<center><h2>Mercurial repositories index</h2></center>
+
+<table>
+    <tr>
+        <td>Name</td>
+        <td>Description</td>
+        <td>Author</td>
+        <td>Last change</td>
+    <tr>
+    #entries#
+</table>
+
+#footer#

-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@ inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87  87C0 BB86 505C 6B2A CFF9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial/attachments/20050817/36ec1d28/attachment.pgp


More information about the Mercurial mailing list