Fix lack of sponsor name in matrix on admin dashboard
authorMagnus Hagander <magnus@hagander.net>
Wed, 17 Apr 2024 19:33:39 +0000 (21:33 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 17 Apr 2024 19:34:13 +0000 (21:34 +0200)
In merging commit 39385c3b1, the wrong column ended up being referenced
as sponsor name. Oops.

Noted by Daniel Gustafsson

template/confsponsor/admin_dashboard.html

index 3e274cbdf89e88375ef70dbaf10d92d966322b56..834ea7a77ed6d428624636cc1f3a0526ee5f4d26 100644 (file)
@@ -169,7 +169,7 @@ This matrix gives a quick overview of the status of the different benefits for e
 {%for r in level.matrix%}
  <tr>
  {%for bb in r%}<td>
-{%if forloop.first%}{{b}}{%else%}{# First in loop holds sponsor name, for the rest we have potentially several labels to show #}
+{%if forloop.first%}{{bb}}{%else%}{# First in loop holds sponsor name, for the rest we have potentially several labels to show #}
 {%for b in bb%}
 {%if b == 0%}
 {%elif b == 1%}<span class="label label-danger sponsormatrixlabel">Declined</span>