Files
mainline-status/_includes/status.liquid
Dmitry Baryshkov 588710ad53 status: add comments as hover tooltips
In case there is a comment for the status, add the footnote symbol. On
the mouse over the comment text will be displayed as a tooltip.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-07-21 01:51:12 +03:00

24 lines
622 B
Plaintext

<td class="
{%- case include.status -%}
{%- when "N", "no", false -%}
status-N
{%- when "pending", "WIP", "wip" -%}
status-next
{%- when "N/A", "n/a" -%}
status-NA
{%- when nil -%}
status-unknown
{%- else -%}
{%- if include.status contains "next" or include.status contains "Next" -%}
status-next
{%- elsif include.status contains "no-dts" -%}
status-no-dts
{%- else -%}
status-Y
{%- endif -%}
{%- endcase -%}">{{include.status}}
{%- if include.comment %}
<span class="tooltip">(*)<span class="tooltiptext">{{include.comment}}</span></span>
{%- endif -%}
</td>