{% load utils_extra %} {% with event.has_publication_issues as pub_issues %} {% if not pub_issues %} {% if event.moderated_date %} modérer de nouveau {% picto_from_name "check-square" %} {% else %} modérer {% picto_from_name "check-square" %} {% endif %} {% endif %} {% if event.pure_import %} {% with event.get_local_version as local %} {% if local %} Voir la version locale {% picto_from_name "eye" %} {% else %} {% if user.userprofile.is_moderation_expert %} modifier & modérer {% picto_from_name "edit-3" %} {% endif %} {% endif %} {% endwith %} {% else %} modifier & modérer {% picto_from_name "edit-3" %} {% endif %} {% if event.is_updateable %} réimporter {% picto_from_name "download-cloud" %} {% endif %} {% if event.status == "draft" and details == 1 and not pub_issues %} publier {% picto_from_name "eye" %} {% endif %} {% if event.status == "trash" %} {% if details == 1 %} restaurer {% picto_from_name "eye" %} {% endif %} {% else %} supprimer {% picto_from_name "trash-2" %} {% endif %} {% if event.status == "trash" %} supprimer définitivement {% picto_from_name "x-circle" %} {% endif %} {% if details == 1 %} dupliquer {% picto_from_name "copy" %} {% endif %} {% endwith %}