sqm-dashboards/app/views/dashboard/_subcategory_card.html.erb
Liam Morley 4fafe2cb50 Display popover on harvey balls not in a zone
This wraps bootstrap styles in `sqm_bootstrap` which can now selectively
import specific desired pieces of bootstrap styling
2021-10-27 15:21:34 -04:00

7 lines
527 B
Text

<div class="subcategory-card__benchmark-item">
<svg class="subcategory-card__circle" width="24" height="24" xmlns="http://www.w3.org/2000/svg" <%= "data-bs-toggle=popover" if subcategory_card.insufficient_data? %> data-bs-content="This subcategory is not displayed due to low survey response rates.">
<use class="harvey-ball harvey-ball--<%= subcategory_card.color %>" xlink:href="#<%= subcategory_card.harvey_ball_icon %>"></use>
</svg>
<div class="subcategory-card__name"><%= subcategory_card.name %></div>
</div>