test a new chill help tooltip

This commit is contained in:
Mathieu Jaumotte 2021-09-03 18:30:43 +02:00
parent d575b48e76
commit 8b945dc38b
2 changed files with 20 additions and 5 deletions

View File

@ -276,6 +276,20 @@ div.metadata {
}
}
/// chill help tooltip
.chill-help-tooltip {
&::before {
content: '\f05a';
color: $chill-pink;
font-family: ForkAwesome;
font-style: normal;
font-size: 120%;
cursor: pointer;
margin: auto 0.3em;
}
}
/// display definition list
// with dt and dd on same line

View File

@ -76,11 +76,12 @@
{% for p in positions %}
<h3>{{ p.label|localize_translatable_string }}</h3>
{% if false == p.shareHousehold %}
<p>{{ 'household.Those members does not share address'|trans }}</p>
{% endif %}
<h3>{{ p.label|localize_translatable_string }}
{% if false == p.shareHousehold %}
<i class="chill-help-tooltip" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-html="true"
title="{{ 'household.Those members does not share address'|trans }}"></i>
{% endif %}
</h3>
{%- set members = household.currentMembersByPosition(p) %}