Patchwork [3,of,3,V4] hgweb, spartan: add link from manifest title to the corresponding changeset page

login
register
mail settings
Submitter Angel Ezquerra
Date Dec. 23, 2012, 12:05 a.m.
Message ID <eaa5e06ce35689e8fa80.1356221121@Angel-PC.localdomain>
Download mbox | patch
Permalink /patch/277/
State Accepted
Commit 580274a1f1c2856a7d4f814d9da4c3d5ef64199d
Headers show

Comments

Angel Ezquerra - Dec. 23, 2012, 12:05 a.m.
# 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
Bryan O'Sullivan - Jan. 8, 2013, 11:29 p.m.
On Sun, Dec 23, 2012 at 01:05:21AM +0100, Angel Ezquerra wrote:
> hgweb, spartan: add link from manifest title to the corresponding changeset page

Series pushed to crew, thanks.

Patch

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}">