73d048325dfd

Merged in akabos/hg-review (pull request #2)
[view raw] [browse files]
author Christophe de Vienne <cdevienne@gmail.com>
date Fri, 12 Dec 2014 10:36:19 +0100
parents e5cc5cf29c7e (current diff) 5bef954cfecd (diff)
children b443b42afe6f af974f8d1eec
branches/tags (none)
files review/templates/index.html

Changes

--- a/review/templates/changeset.html	Sat Nov 22 16:05:35 2014 +0100
+++ b/review/templates/changeset.html	Fri Dec 12 10:36:19 2014 +0100
@@ -29,12 +29,12 @@
 
         <h2>
             {{ rev.rev() }}:
-            <span class="desc">{{ rev.description().splitlines()[0] }}</span>
+            <span class="desc">{{ utils['decode'](rev.description().splitlines()[0]) }}</span>
             <span class="by">by</span>
             <a href="mailto:{{ utils['email'](rev.user()) }}">{{ utils['person'](rev.user()) }}</a>
         </h2>
 
-        <div class="fulldesc">{{ rev.description() }}</div>
+        <div class="fulldesc">{{ utils['decode'](rev.description()) }}</div>
     </div>
 
     {% with %}
--- a/review/templates/index.html	Sat Nov 22 16:05:35 2014 +0100
+++ b/review/templates/index.html	Fri Dec 12 10:36:19 2014 +0100
@@ -19,7 +19,7 @@
                         {% if rev.branch() != 'default' %}
                             [{{ rev.branch() }}] 
                         {%endif%}
-                        {{  rev.description().splitlines()[0] }}
+                        {{ utils['decode'](rev.description().splitlines()[0]) }}
                     </a>
                 </td>
                 <td class="stats">