{% set current_year = currentYear() %}
{% set text_class = text_class|default('text-gray-500') %}
{% set company = company|default(labels.default) %}
{% if hide_label != true %}
{{ labels.label }}
{% endif %}
{% if from_year is not empty and from_year < current_year %}
{{ from_year }} -
{% endif %}
{{ current_year }}
{% if url is not empty %}
{{ company }}
{% else %}
{{ company }}
{% endif %}