N°3581 - Dashlet: Add max-width and tooltip on pills

This commit is contained in:
Molkobain
2021-03-18 11:46:33 +01:00
parent ac91bc8898
commit 72b2feb697
5 changed files with 51 additions and 9 deletions

View File

@@ -4,7 +4,8 @@
<{{ sTagName }} id="{{ oUIBlock.GetId() }}"
{% if oUIBlock.HasUrl() %}href="{{ oUIBlock.GetUrl()|raw }}"{% endif %}
class="ibo-pill ibo-is-{{ oUIBlock.GetColor() }}"
data-role="ibo-pill">
data-role="ibo-pill"
{% if oUIBlock.HasTooltip() %}data-tooltip-content="{{ oUIBlock.GetTooltip() }}" data-tooltip-show-delay="500"{% endif %}>
{% for oSubBlock in oUIBlock.GetSubBlocks() %}
{{ render_block(oSubBlock, {aPage: aPage}) }}
{% endfor %}