Skip to content

Commit

Permalink
Made score rendering a bit more generic #3387
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Dec 18, 2024
1 parent 62ed640 commit 4aaa50e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions grails-app/views/organisation/_dashboard.gsp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<g:if test="${dashboardData}">
<div class="dashboard-section" style="padding:10px; margin-top:10px;">
<h3 class="serviceTitle">Indigenous workforce and procurement</h3>
<g:each in="${dashboardData}" var="score">
<fc:renderScore score="${score}" includeInvoiced="false"></fc:renderScore>
<g:each in="${dashboardData.groupBy{it.category}}" var="category">
<h3 class="serviceTitle">${category.key}</h3>
<g:each in="${category.value}" var="score">
<fc:renderScore score="${score}" includeInvoiced="false"></fc:renderScore>
</g:each>
</g:each>
</div>
</g:if>
Expand Down

0 comments on commit 4aaa50e

Please sign in to comment.