mercurial/templates/spartan/manifest.tmpl
author Angel Ezquerra <angel.ezquerra at gmail.com>
Fri, 21 Dec 2012 02:40:12 +0100
changeset 18259 7bf412b767fe
parent 12680 d664547ef540
child 18260 580274a1f1c2
permissions -rw-r--r--
hgweb, spartan: add "URL breadcrumbs" This change adds a "URL breadcrumb" to the "title" of the pages on the spartan template. By title I mean the first line that is shown right below the page selection row, which shows the name of the page that is being viewed, along with some additional information. In doing so it standarizes those "titles" which now follow the pattern: URL breadcumb / page details

{header}
<title>{repo|escape}: files for changeset {node|short}</title>
</head>
<body>

<div class="buttons">
<a href="{url}log/{rev}{sessionvars%urlparameter}">changelog</a>
<a href="{url}shortlog/{rev}{sessionvars%urlparameter}">shortlog</a>
<a href="{url}graph{sessionvars%urlparameter}">graph</a>
<a href="{url}tags{sessionvars%urlparameter}">tags</a>
<a href="{url}branches{sessionvars%urlparameter}">branches</a>
<a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
{archives%archiveentry}
<a href="{url}help{sessionvars%urlparameter}">help</a>
</div>

<h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / files for changeset {node|short}: {path|escape}</h2>

<table cellpadding="0" cellspacing="0">
<tr class="parity{upparity}">
  <td><tt>drwxr-xr-x</tt>&nbsp;
  <td>&nbsp;
  <td>&nbsp;
  <td><a href="{url}file/{node|short}{up|urlescape}{sessionvars%urlparameter}">[up]</a>
</tr>
{dentries%direntry}
{fentries%fileentry}
</table>
{footer}