[PATCH] Add RSS link to the repository index

Ollivier Robert roberto at keltia.freenix.fr
Sat Aug 27 19:33:47 UTC 2005


# HG changeset patch
# User Ollivier Robert <roberto at keltia.freenix.fr>
# Node ID 799a4bb67d13f7831aee09171cc2521c811000f3
# Parent  3a1a46dcd3978a790f4c56486124880dbefeb1d4
Add RSS link to the repository index.

diff -r 3a1a46dcd397 -r 799a4bb67d13 templates/index.tmpl
--- a/templates/index.tmpl	Sat Aug 27 08:55:10 2005
+++ b/templates/index.tmpl	Sat Aug 27 19:30:22 2005
@@ -11,6 +11,7 @@
         <td>Description</td>
         <td>Contact</td>
         <td>Last change</td>
+        <td> </td>
     <tr>
     #entries%indexentry#
 </table>
diff -r 3a1a46dcd397 -r 799a4bb67d13 templates/map
--- a/templates/map	Sat Aug 27 08:55:10 2005
+++ b/templates/map	Sat Aug 27 19:30:22 2005
@@ -35,6 +35,6 @@
 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#: </td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node|short#</a></td></tr>"
-indexentry = "<tr class="parity#parity#"><td><a  href="#url#">#name#</a></td><td>#shortdesc#</td><td>#author# <i>#email|obfuscate#</i></td><td>#lastupdate|age# ago</td></tr>"
+indexentry = "<tr class="parity#parity#"><td><a href="#url#">#name#</a></td><td>#shortdesc#</td><td>#author#<i>#email|obfuscate#</i></td><td>#lastupdate|age# ago</td><td><a href="#url#?cmd=changelog;style=rss">RSS</a></td></tr>"
 index = index.tmpl
-archiveentry = "<a href="?cmd=archive;node=#node#;type=#type#">#type#</a> "
+archiveentry = "<a href="?cmd=archive;node=#node#;type=#type#">#type#</a> "
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto at keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005



More information about the Mercurial mailing list