MercurialWebTheme

themes/mercurialweb/changeset.tmpl

20:73310a034def
2010-07-14 Paul Boddie Added navigation links to the manifest view. Added a changelog link to the changeset view. Tidied the presentation of changelog file lists to match that used by the changeset view.
     1 {header}     2 <title>{repo|escape} (changeset {node|short})</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><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></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>&nbsp;<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>Changeset</h3>    30     31 <div class="changesetlinks"><div class="changesetchildlinks"></div>{child%changesetlink}</div>    32 <div class="changeset">{rev}:{node|short}</div>    33 <div class="changesetlinks"><div class="changesetparentlinks"></div>{parent%changesetlink}</div>    34     35 <table>    36   <tbody>    37     <tr>    38       <td>{date|age}</td>    39       <td>{author|person}</td>    40       <td class="navigation">    41         <a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a>    42         <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>    43         <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>    44         <a href="{url}changelog/{node|short}{sessionvars%urlparameter}#{node|short}">changelog</a>    45       </td>    46       <td width="50%">{desc|strip|escape}</td>    47       <td>{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>    48     </tr>    49     <tr>    50       <td colspan="5" class="files">{files}</td>    51     </tr>    52   </tbody>    53 </table>    54     55 <div class="diff">{diff}</div>    56     57 {footer}