mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
show admin data on admin categories
This commit is contained in:
parent
ef3d0186a5
commit
50930ecc62
1 changed files with 11 additions and 8 deletions
|
|
@ -15,14 +15,17 @@
|
|||
|
||||
%p= @category.description
|
||||
- if valid
|
||||
-# %p
|
||||
-# - if @school_category.response_count > 0
|
||||
-# %b Average:
|
||||
-# - likert = @school_category.answer_index_average
|
||||
-# - zscore = @school_category.zscore.present? ? @school_category.zscore + 3 : nil
|
||||
-# - likert = zscore if zscore.present?
|
||||
-# - likert = likert.round(1)
|
||||
-# = number_with_delimiter(likert)
|
||||
%p
|
||||
- if @school_category.category.benchmark.present?
|
||||
%b Administrative Data:
|
||||
- if @school_category.nonlikert.present?
|
||||
= @school_category.nonlikert
|
||||
= "(Benchmark: #{@school_category.category.benchmark})"
|
||||
|
||||
- if @school_category.zscore.present?
|
||||
= @school_category.zscore.round(1) + 3
|
||||
(out of 5)
|
||||
|
||||
|
||||
.indicator-container.py-3
|
||||
= render 'school_categories/indicator', info: @school_category
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue