MercurialWebTheme

themes/mercurialweb/changelog.tmpl

28:4b0cb747b86f
2010-10-31 Paul Boddie Introduced support for the apparently modified pager variables in more recent versions of Mercurial. Some measures may be needed to permit the theme to work with older versions.
     1 {header}     2 <title>{repo|escape} (changelog)</title>     3 </head>     4      5 <body>     6      7 <div id="header">     8   <div id="logo"><a href="{url}..{sessionvars%urlparameter}"><img src="{staticurl}mercurial-logo.png" alt="Mercurial logo" /></a></div>     9   <div class="controls">    10     <ul id="navibar">    11     <li><a href="{url}summary{sessionvars%urlparameter}">Summary</a></li    12     ><li><a href="{url}shortlog{sessionvars%urlparameter}">Shortlog</a></li    13     ><li class="current"><span>Changelog</span></li    14     ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li    15     ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li    16     ><li><form id="searchform" action="{url}log"><span class="container">    17         <span class="hint">Search</span>&#160;<input name="rev" id="searchinput" type="text" size="20" />    18       </span>    19       {sessionvars%hiddenformentry}    20       </form>    21     </li>    22     </ul>    23   </div>    24   <div id="pageline"></div>    25 </div>    26     27 <h2>{repo|escape}</h2>    28     29 <h3>Changelog</h3>    30     31 <div class="pager">{changenav%changelogpagerentry}</div>    32     33 <table>    34   <tbody>    35 {entries%changelogentry}    36   </tbody>    37 </table>    38     39 <div class="pager">{changenav%changelogpagerentry}</div>    40     41 {footer}