{#
/**
 * @author
 * Altcom Ltd — 2021
 * @file
 * Default theme implementation to display a heatmap key
 *
 * Available variables:
 * - heatmap_settings: Settings for heatmap options.
 *   - key: Flag to indicate whether to display the key above or below the heatmap
 *   - thresholds: Threshold settings to use in key display
 *
 * @ingroup themeable
 */
#}
<div class="thresholds-key {{ heatmap_settings.key }}">
  {% for threshold_name, threshold in heatmap_settings.thresholds %}
    {% if threshold.label %}
      <span class="lbtkl {{ threshold_name }}">{{ threshold.label }}</span>
    {% endif %}
  {% endfor %}
</div>
