{% set dataContent = '' %}
{% set dataInverted = '' %}
{% if bonus[clasificadoRankingId] is defined or penalidad[clasificadoRankingId] is defined %}
{% set dataContent = "Puntos: " ~ puntos[clasificadoRankingId]['totalNotCalculated'] %}
{% if penalidad[clasificadoRankingId] is defined %}
{% set dataContent = dataContent ~ " | Penalidad: " ~ penalidad[clasificadoRankingId] %}
{% endif %}
{% if bonus[clasificadoRankingId] is defined %}
{% set dataContent = dataContent ~ " | Bonus: " ~ bonus[clasificadoRankingId] %}
{% endif %}
{% endif %}
<div class="tableCell tableCell-total total{{ loop.index }}"
data-content="{{ dataContent }}"
data-inverted=""
>
{{ puntos[clasificadoRankingId]['total']+0 }}
<span class="icon-penalty">{% if penalidad[clasificadoRankingId] is defined %}
<svg class="icon-bonus-penalty" xmlns="http://www.w3.org/2000/svg" width="32" height="32"
viewBox="0 0 32 32"><path fill="currentColor"
d="M16 4c6.6 0 12 5.4 12 12s-5.4 12-12 12S4 22.6 4 16S9.4 4 16 4m0-2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2"></path><path
fill="currentColor" d="M8 15h16v2H8z"></path></svg>{% endif %}</span>
<span class="icon-bonus">{% if bonus[clasificadoRankingId] is defined %}
<svg class="icon-bonus-penalty" xmlns="http://www.w3.org/2000/svg" width="32" height="32"
viewBox="0 0 32 32"><path fill="currentColor"
d="M16 4c6.6 0 12 5.4 12 12s-5.4 12-12 12S4 22.6 4 16S9.4 4 16 4m0-2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2"></path><path
fill="currentColor" d="M24 15h-7V8h-2v7H8v2h7v7h2v-7h7z"></path></svg>{% endif %}</span>
</div>