Skip to content

Commit 9a141fb

Browse files
committed
jinja2: make sure grouping also works with Python 2
1 parent f582053 commit 9a141fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/roundup/templates/jinja2/html/issue.index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<tr>
5353
<th class="text-center" colspan="{{ request.columns|length }}">
5454
{%- for g in group -%}
55-
{%- if issue[g] %} {{ issue[g]|u }} {% else %} (no {{ g }} set) {% endif -%}
55+
{%- if issue[g] %} {% if g == 'id' %}{{ issue[g] }}{% else %}{{ issue[g].plain()|u }}{% endif %} {% else %} (no {{ g }} set) {% endif -%}
5656
{%- endfor -%}
5757
</th>
5858
</tr>

0 commit comments

Comments
 (0)