{# @var \record_preview record #}
{% if record.env == "RESULT" %}
{% trans with {
'%number%' : '' ~ record.formatNumber(record.getNumber() + 1) ~ '',
'%total%' : record.formatNumber(record.total)
} %}Resultat %number% / %total%{% endtrans %}
{{ record.get_title() }}
{% elseif record.env == "BASK" %}
{{ record.name }}
({{ record.formatNumber(record.getNumber()) }} / {{ record.formatNumber(record.total) }})
{{ record.get_title() }}
{% elseif record.env == "REG" %}
{{ record.name }}
{% if record.getNumber() != 0 %}
({{ record.formatNumber(record.getNumber()) }} / {{ record.formatNumber(record.total) }})
{{ record.get_title() }}
{% else %}
{% endif %}
{% else %}
{{ record.get_title() }}
{% endif %}