diff --git a/opentech/apply/funds/templates/funds/includes/review_sidebar_item.html b/opentech/apply/funds/templates/funds/includes/review_sidebar_item.html index 87dce8719f82253bbee129474ba5ad2f56b20a1e..be0bba5a1275fcdfecc6d6f717fddc1b7adf7df0 100644 --- a/opentech/apply/funds/templates/funds/includes/review_sidebar_item.html +++ b/opentech/apply/funds/templates/funds/includes/review_sidebar_item.html @@ -37,7 +37,9 @@ <li class="reviews-sidebar__item reviews-sidebar__item--decision"> <div class="reviews-sidebar__name"> <span>{{ opinion.author }}</span> - {% if opinion.role %}{% image opinion.role.icon max-12x12 %}{% endif %} + {% with role=opinion.get_author_role %} + {% if role %}{% image role.icon max-12x12 %}{% endif %} + {% endwith %} </div> <div></div> <div class="reviews-sidebar__outcome {{ opinion.get_opinion_display|lower }}">{{ opinion.get_opinion_display}}</div>