mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
rename admin data to school data
This commit is contained in:
parent
25f839e728
commit
1595c3a58c
8 changed files with 194 additions and 194 deletions
|
|
@ -7,7 +7,7 @@ class AdminDataPresenter < DataItemPresenter
|
|||
end
|
||||
|
||||
def title
|
||||
'School admin data'
|
||||
"School data"
|
||||
end
|
||||
|
||||
def id
|
||||
|
|
@ -15,13 +15,13 @@ class AdminDataPresenter < DataItemPresenter
|
|||
end
|
||||
|
||||
def reason_for_insufficiency
|
||||
'limited availability'
|
||||
"limited availability"
|
||||
end
|
||||
|
||||
def descriptions_and_availability
|
||||
@admin_data_items.map do |admin_data_item|
|
||||
DataAvailability.new(admin_data_item.admin_data_item_id, admin_data_item.description,
|
||||
admin_data_item.admin_data_values.where(school:, academic_year:).count > 0)
|
||||
admin_data_item.admin_data_values.where(school:, academic_year:).count > 0)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue