mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-17 01:45:53 -07:00
chore: get overview page to display without errors
This commit is contained in:
parent
64b4d599c7
commit
650a91ca62
5 changed files with 16 additions and 20 deletions
|
|
@ -80,7 +80,6 @@
|
|||
<div class="font-size-14">Ideal</div>
|
||||
</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} %>
|
||||
|
|
@ -92,9 +91,9 @@
|
|||
<h2 class="sub-header-2 mb-4">Distance From Benchmark</h2>
|
||||
<%= render partial: "variance_chart", locals: { presenters: @variance_chart_row_presenters } %>
|
||||
</div>
|
||||
<% if @district == District.find_by_name("Boston") %>
|
||||
<% if @district&.name == 'Boston'%>
|
||||
<%= render partial: 'layouts/boston_modal' %>
|
||||
<% elsif @has_empty_dataset %>
|
||||
<%= render partial: 'layouts/empty_dataset_modal' %>
|
||||
<%= render partial: 'layouts/dashboard/empty_dataset_modal' %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue