# HG changeset patch # User Mikhail Lukyanchenko # Date 1324285655 -14400 # Node ID 5bef954cfecd517feaa94b7a5aa2d0bd6bae6ef0 # Parent 78819a1b530ec97408cbf919f537067f6b115f11 decode revision descriptions in templates (fixes #79) diff -r 78819a1b530e -r 5bef954cfecd review/templates/changeset.html --- a/review/templates/changeset.html Mon Jul 18 13:34:36 2011 -0400 +++ b/review/templates/changeset.html Mon Dec 19 13:07:35 2011 +0400 @@ -29,12 +29,12 @@

{{ rev.rev() }}: - {{ rev.description().splitlines()[0] }} + {{ utils['decode'](rev.description().splitlines()[0]) }} by {{ utils['person'](rev.user()) }}

-
{{ rev.description() }}
+
{{ utils['decode'](rev.description()) }}
{% with %} diff -r 78819a1b530e -r 5bef954cfecd review/templates/index.html --- a/review/templates/index.html Mon Jul 18 13:34:36 2011 -0400 +++ b/review/templates/index.html Mon Dec 19 13:07:35 2011 +0400 @@ -14,7 +14,7 @@ {{ rev.rev() }}:{{ node_short }} - {{ rev.description().splitlines()[0] }} + {{ utils['decode'](rev.description().splitlines()[0]) }} {% with %}