Mercurial > hg-stable
diff mercurial/templates/spartan/graph.tmpl @ 18259:7bf412b767fe
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
author | Angel Ezquerra <angel.ezquerra at gmail.com> |
---|---|
date | Fri, 21 Dec 2012 02:40:12 +0100 |
parents | ffe3630cb243 |
children | 9409aeaafdc1 |
line wrap: on
line diff
--- a/mercurial/templates/spartan/graph.tmpl Wed Nov 28 20:21:26 2012 +0100 +++ b/mercurial/templates/spartan/graph.tmpl Fri Dec 21 02:40:12 2012 +0100 @@ -17,7 +17,7 @@ <a href="{url}help{sessionvars%urlparameter}">help</a> </div> -<h2>graph</h2> +<h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / graph</h2> <form action="{url}log"> {sessionvars%hiddenformentry}