Mercurial > hg
view mercurial/templates/paper/branches.tmpl @ 18045:add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
There were no RSS nor Atom feeds for the branches page. Different hgweb
templates linked to different feeds on their branches page (some linked to the
tags feed, some to the log feed and some to the unexisting branches feed).
author | Angel Ezquerra <angel.ezquerra@gmail.com> |
---|---|
date | Tue, 04 Dec 2012 00:37:50 +0100 |
parents | 44382887d012 |
children | b31266671918 |
line wrap: on
line source
{header} <title>{repo|escape}: branches</title> <link rel="alternate" type="application/atom+xml" href="{url}atom-branches" title="Atom feed for {repo|escape}: branches" /> <link rel="alternate" type="application/rss+xml" href="{url}rss-branches" title="RSS feed for {repo|escape}: branches" /> </head> <body> <div class="container"> <div class="menu"> <div class="logo"> <a href="{logourl}"> <img src="{staticurl}{logoimg}" alt="mercurial" /></a> </div> <ul> <li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li> <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li> <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li class="active">branches</li> </ul> <ul> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <div class="main"> <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> <h3>branches</h3> <form class="search" action="{url}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <table class="bigtable"> <tr> <th>branch</th> <th>node</th> </tr> {entries % ' <tr class="tagEntry parity{parity}"> <td> <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}"> {branch|escape} </a> </td> <td class="node"> {node|short} </td> </tr>' } </table> </div> </div> {footer}