chore: get overview page to show without errors

This commit is contained in:
Nelson Jovel 2024-01-18 14:13:17 -08:00
parent 650a91ca62
commit 589c0f7e11
7 changed files with 31 additions and 16 deletions

View file

@ -1,5 +1,11 @@
<div class="subcategory-card__benchmark-item">
<svg class="subcategory-card__circle" width="24" height="24" xmlns="http://www.w3.org/2000/svg" <%= "data-bs-toggle=popover" if subcategory_card.insufficient_data? %> data-bs-placement="top" data-bs-content="This subcategory is not displayed due to limited availability of school admin data and/or low survey response rates.">
<svg class="subcategory-card__circle"
width="24"
height="24"
xmlns="http://www.w3.org/2000/svg"
<%= "data-bs-toggle=popover" if subcategory_card.insufficient_data? %>
data-bs-placement="top"
data-bs-content="This subcategory is not displayed due to limited availability of school admin data and/or low survey response rates.">
<use class="harvey-ball harvey-ball--<%= subcategory_card.color %>" xlink:href="#<%= subcategory_card.harvey_ball_icon %>"></use>
</svg>

View file

@ -81,6 +81,8 @@
</div>
</div>
<%= render partial: "quality_framework_indicators", locals: { category_presenters: @category_presenters } %>
<div class="overall-response-rate-row">
<%= render partial: "response_rate", locals: {response_rate_presenter: @student_response_rate_presenter} %>
<%= render partial: "response_rate", locals: {response_rate_presenter: @teacher_response_rate_presenter} %>