[PATCH stable] hgweb, gitweb: fixes linebreak location in filediff.tmpl view

wujek srujek wujek.srujek at googlemail.com
Mon Jun 4 11:17:17 CDT 2012


# HG changeset patch
# User wujek srujek <wujek.srujek at googlemail.com>
# Date 1338825803 -7200
# Branch stable
# Node ID 05184edc5a7622f0c5510c1f20446c90a975d689
# Parent  f61c86d43b70c9a15c712b0ffc8dea642e38e973
hgweb, gitweb: fixes linebreak location in filediff.tmpl view

It is consistent with other templates now and doesn't cause the help link to
(incorrectly) appear on the next line.

diff --git a/mercurial/templates/gitweb/filediff.tmpl b/mercurial/templates/gitweb/filediff.tmpl
--- a/mercurial/templates/gitweb/filediff.tmpl
+++ b/mercurial/templates/gitweb/filediff.tmpl
@@ -26,8 +26,9 @@
 <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
 diff |
-<a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a><br/> |
+<a href="{url}raw-diff/{node|short}/{file|urlescape}">raw</a> |
 <a href="{url}help{sessionvars%urlparameter}">help</a>
+<br/>
 </div>
 
 <div class="title">{file|escape}</div>


More information about the Mercurial-devel mailing list