diff --git a/pgcommitfest/commitfest/templates/commitfest.html b/pgcommitfest/commitfest/templates/commitfest.html index 886712fc..a343af91 100644 --- a/pgcommitfest/commitfest/templates/commitfest.html +++ b/pgcommitfest/commitfest/templates/commitfest.html @@ -22,13 +22,16 @@ Status summary: {%for id,title,num in statussummary%}{{title}}: {{num}}. {%endfor%}

- {%for p in patches %} +{%for p in patches %} {%ifchanged p.is_open%} + {% if not cf.draft or p.is_open %} {%if not forloop.first%} {%endif%} -

{{p.is_open|yesno:"Active patches,Closed patches"}}

+{% if not cf.draft or p.is_open %} +

{{p.is_open|yesno:"Active patches,Closed patches"}}

+{% endif %}