mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Add Overall Response Rate Popover
This commit is contained in:
parent
b3efbdeb33
commit
a8db6c5ecf
2 changed files with 12 additions and 2 deletions
|
|
@ -1,8 +1,14 @@
|
|||
<div class="overall-response-rate-container">
|
||||
<div
|
||||
class="overall-response-rate-container"
|
||||
data-bs-toggle="popover"
|
||||
data-bs-trigger="hover focus"
|
||||
data-bs-content="<%= response_rate_presenter.hover_message %>"
|
||||
data-bs-placement="top"
|
||||
>
|
||||
<div>Response Rates as of <%= response_rate_presenter.date.to_date.strftime("%m/%d/%y") %> </div>
|
||||
<div style="display: flex; justify-content:space-between; width: 100px;">
|
||||
<div><%= response_rate_presenter.focus.capitalize %> </div>
|
||||
<%= render partial: "response_rate_graphic", locals: {response_rate_presenter: response_rate_presenter}, cached: true %>
|
||||
<div><%= response_rate_presenter.percentage %>% </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue