summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2015-10-03 16:40:22 +0000
committerMagnus Hagander2015-10-03 16:40:22 +0000
commit3abb0a298eb53d46caf4669e8fdc93f33a58e935 (patch)
treed8448da91a6bdc19b7b366d26d9b4a2f22eb242b
parentb557b45047b0f0f0d64a66d91030801929f39ea5 (diff)
Put the correct color on labels in patch viewing
Pointed out by Andres that the original patch only did the CF listing, and not the actual patch viewing.
-rw-r--r--pgcommitfest/commitfest/templates/patch.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcommitfest/commitfest/templates/patch.html b/pgcommitfest/commitfest/templates/patch.html
index 36ff044..6768dd0 100644
--- a/pgcommitfest/commitfest/templates/patch.html
+++ b/pgcommitfest/commitfest/templates/patch.html
@@ -27,7 +27,7 @@
<tr>
<th>Status</th>
<td>{%for c in patch_commitfests %}
- <div style="margin-bottom: 3px;">{{c.commitfest}}: <span class="label label-default">{{c.statusstring}}</span></div>
+ <div style="margin-bottom: 3px;">{{c.commitfest}}: <span class="label label-{{c.status|patchstatuslabel}}">{{c.statusstring}}</span></div>
{%endfor%}
</td>
</tr>