Patchwork [1,of,4] hgweb: close <th> properly in spartan/filelogentry.tmpl

login
register
mail settings
Submitter Anton Shestakov
Date Jan. 10, 2015, 1:41 p.m.
Message ID <febf58cfae9ec7f8a29a.1420897302@neuro>
Download mbox | patch
Permalink /patch/7415/
State Accepted
Commit 8b79fdaa9f8571027a799bf9fa67ded6e3bc6059
Headers show

Comments

Anton Shestakov - Jan. 10, 2015, 1:41 p.m.
# HG changeset patch
# User Anton Shestakov <engored@ya.ru>
# Date 1420883094 -28800
#      Sat Jan 10 17:44:54 2015 +0800
# Node ID febf58cfae9ec7f8a29ab785d145169998008d55
# Parent  678f53865c6860a950392691814766957ee89316
hgweb: close <th> properly in spartan/filelogentry.tmpl

Patch

diff --git a/mercurial/templates/spartan/filelogentry.tmpl b/mercurial/templates/spartan/filelogentry.tmpl
--- a/mercurial/templates/spartan/filelogentry.tmpl
+++ b/mercurial/templates/spartan/filelogentry.tmpl
@@ -4,7 +4,7 @@ 
   <th class="firstline"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></th>
  </tr>
  <tr>
-  <th class="revision">revision {filerev}:</td>
+  <th class="revision">revision {filerev}:</th>
   <td class="node">
    <a href="{url|urlescape}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
    <a href="{url|urlescape}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">(diff)</a>
diff --git a/tests/test-hgweb-filelog.t b/tests/test-hgweb-filelog.t
--- a/tests/test-hgweb-filelog.t
+++ b/tests/test-hgweb-filelog.t
@@ -643,7 +643,7 @@  should show base link, use spartan becau
     <th class="firstline"><a href="/rev/b7682196df1c?style=spartan">change c</a></th>
    </tr>
    <tr>
-    <th class="revision">revision 1:</td>
+    <th class="revision">revision 1:</th>
     <td class="node">
      <a href="/file/b7682196df1c/c?style=spartan">b7682196df1c</a>
      <a href="/diff/b7682196df1c/c?style=spartan">(diff)</a>
@@ -668,7 +668,7 @@  should show base link, use spartan becau
     <th class="firstline"><a href="/rev/1a6696706df2?style=spartan">mv b</a></th>
    </tr>
    <tr>
-    <th class="revision">revision 0:</td>
+    <th class="revision">revision 0:</th>
     <td class="node">
      <a href="/file/1a6696706df2/c?style=spartan">1a6696706df2</a>
      <a href="/diff/1a6696706df2/c?style=spartan">(diff)</a>