{% load i18n %}
{% translate "Creator" %}: {{ link.creator.profile.main_character.character_name }}

{% translate "Link created (EVE Time)" %}: {{ link.created|date:"d. F Y H:i" }} {% if link_expires %}
{% if link_ongoing %} {% translate "Link expires (EVE Time)" as line_title %} {% else %} {% translate "Link expired (EVE Time)" as line_title %} {% endif %} {{ line_title }}: {{ link_expires|date:"d. F Y H:i" }} {% endif %} {% if link.is_esilink %}
{% if link.is_registered_on_esi %} {% translate 'Participation is being tracked via ESI' %} {% if request.user == link.creator %} {% endif %} {% else %} {% translate "Participation has been tracked via ESI" %} {% endif %} {% endif %}

{% if link_can_be_reopened and perms.afat.manage_afat %}

{% blocktranslate with reopen_grace_time=reopen_grace_time %}This link has already expired but is within the grace
time of {{ reopen_grace_time }} minutes where it can be re-opened.{% endblocktranslate %}

{% endif %}
{% if is_clickable_link and link_ongoing %}

{% translate "FAT Link" %}: {{ SITE_URL }}{% url 'afat:fatlinks_add_fat' link.hash %}

{% endif %}
{% if link.is_registered_on_esi and request.user == link.creator %} {% translate "Close ESI fleet tracking" as translated_title %} {% include "afat/modals/general.html" with modal_name="cancelEsiFleet" modal_title=translated_title confirm_button_class="btn-danger" %} {% endif %} {% if link_can_be_reopened and perms.afat.manage_afat %} {% translate "Re-open FAT link" as translated_title %} {% include "afat/modals/general.html" with modal_name="reopenFatLink" modal_title=translated_title confirm_button_class="btn-success" %} {% endif %}