diff mercurial/templates/paper/filelog.tmpl @ 18200:b31266671918

hgweb: add (Atom) subscribe link to the main paper template pages The subscribe link is found at the bottom of the navigation sidebar. This uses a free icon from http://feedicons.com.
author Angel Ezquerra <angel.ezquerra@gmail.com>
date Tue, 04 Dec 2012 00:41:29 +0100
parents 1ae119269ddc
children bebb05a7e249
line wrap: on
line diff
--- a/mercurial/templates/paper/filelog.tmpl	Sun Dec 30 19:19:52 2012 +0100
+++ b/mercurial/templates/paper/filelog.tmpl	Tue Dec 04 00:41:29 2012 +0100
@@ -35,6 +35,11 @@
 <ul>
 <li><a href="{url}help{sessionvars%urlparameter}">help</a></li>
 </ul>
+<p>
+<div class="atom-logo">
+<a href="{url}atom-log/{node|short}/{file|urlescape}" title="subscribe to atom feed">
+<img class="atom-logo" src="{staticurl}feed-icon-14x14.png" alt="atom feed"></a>
+</div>
 </div>
 
 <div class="main">