mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Add popup message on admin data exclamation point indicators
This commit is contained in:
parent
deaf13c976
commit
ea09fa06b7
4 changed files with 12 additions and 9 deletions
|
|
@ -1,4 +1,6 @@
|
|||
class StudentSurveyPresenter < DataItemPresenter
|
||||
attr_reader :survey_items
|
||||
|
||||
def initialize(measure_id:, survey_items:, has_sufficient_data:, school:, academic_year:)
|
||||
super(measure_id:, has_sufficient_data:, school:, academic_year:)
|
||||
@survey_items = survey_items
|
||||
|
|
@ -21,7 +23,7 @@ class StudentSurveyPresenter < DataItemPresenter
|
|||
end
|
||||
|
||||
def descriptions_and_availability
|
||||
@survey_items.map do |survey_item|
|
||||
survey_items.map do |survey_item|
|
||||
DataAvailability.new(survey_item.survey_item_id, survey_item.prompt, true)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue