mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
feat: suppress parent view on overview page if the school didn't take the survey
This commit is contained in:
parent
66ed401d57
commit
5de7bbe8a1
4 changed files with 18 additions and 85 deletions
|
|
@ -14,7 +14,10 @@
|
|||
<div class="d-flex justify-content-between align-items-center">
|
||||
<h2 class="sub-header-2">School Quality Framework Indicators</h2>
|
||||
<%= render partial: "harvey_ball_legend" %>
|
||||
<%= render partial: "student_parent_toggle" %>
|
||||
|
||||
<% if @category_presenters.any? {|category_presenter| category_presenter.show_parent_view?(school: @school, academic_year: @academic_year) } %>
|
||||
<%= render partial: "student_parent_toggle" %>
|
||||
<% end %>
|
||||
</div>
|
||||
<%= render partial: "quality_framework_indicators", locals: { category_presenters: @category_presenters } %>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue