[PATCH 3 of 3 V4] hgweb, spartan: add link from manifest title to the corresponding changeset page
Angel Ezquerra
angel.ezquerra at gmail.com
Sat Dec 22 18:05:21 CST 2012
# HG changeset patch
# User Angel Ezquerra <angel.ezquerra at gmail.com>
# Date 1356054067 -3600
# Node ID eaa5e06ce35689e8fa804f4a3ab6902f058f26b4
# Parent 1d3552cce123de607d7fe2c49a9b6426a0416b32
hgweb, spartan: add link from manifest title to the corresponding changeset page
diff --git a/mercurial/templates/spartan/manifest.tmpl b/mercurial/templates/spartan/manifest.tmpl
--- a/mercurial/templates/spartan/manifest.tmpl
+++ b/mercurial/templates/spartan/manifest.tmpl
@@ -14,7 +14,7 @@
<a href="{url}help{sessionvars%urlparameter}">help</a>
</div>
-<h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / files for changeset {node|short}: {path|escape}</h2>
+<h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / files for changeset <a href="{url}rev/{node|short}">{node|short}</a>: {path|escape}</h2>
<table cellpadding="0" cellspacing="0">
<tr class="parity{upparity}">
More information about the Mercurial-devel
mailing list