mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
Add Overall Response Rate Popover
This commit is contained in:
parent
2a3f69b813
commit
960fcd570c
2 changed files with 12 additions and 2 deletions
|
|
@ -23,6 +23,10 @@ class ResponseRatePresenter
|
|||
percentage > 75 ? 'purple' : 'gold'
|
||||
end
|
||||
|
||||
def hover_message
|
||||
"Percentages based on #{ actual_count } out of #{ respondents_count.round } #{ focus }s completing at least 25% of the survey."
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def cap_at_100(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue