mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
tweaking styles
This commit is contained in:
parent
67e7fea2a0
commit
4241f3f7df
2 changed files with 6 additions and 2 deletions
|
|
@ -31,6 +31,8 @@
|
|||
%p No data is displayed for this question because of insufficient responses.
|
||||
-#%p= "Responded: #{aggregated_responses.count}, Possible: #{@school.available_responders_for(question)}"
|
||||
%p= "Source: #{question.for_teachers? ? "Teachers" : "Students"}"
|
||||
%br
|
||||
%br
|
||||
|
||||
- if valid_responses
|
||||
.clearfix
|
||||
|
|
|
|||
|
|
@ -567,7 +567,8 @@ end
|
|||
# school_category.update(
|
||||
# valid_child_count: school_question_data.valid_child_count,
|
||||
# response_count: school_question_data.response_count,
|
||||
# answer_index_total: school_question_data.response_total
|
||||
# answer_index_total: school_question_data.response_total,
|
||||
# zscore: (school_question_data.response_total.to_f/school_question_data.response_count.to_f) - 3.to_f
|
||||
# )
|
||||
# end
|
||||
# end
|
||||
|
|
@ -588,7 +589,8 @@ end
|
|||
# school_category.update(
|
||||
# valid_child_count: valid_children.count,
|
||||
# response_count: valid_children.sum(&:response_count),
|
||||
# answer_index_total: valid_children.sum(&:answer_index_total)
|
||||
# answer_index_total: valid_children.sum(&:answer_index_total),
|
||||
# zscore: (valid_children.sum(&:answer_index_total).to_f / valid_children.sum(&:response_count).to_f) - 3.to_f
|
||||
# )
|
||||
# puts ""
|
||||
# puts ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue