{% load i18n %} {# Permission check has to take place outside of this template, so we don’t run it a gazillion times in list views #} {% if speaker.has_arrived %} {% translate "Mark speaker as not arrived" %} {% else %} {% translate "Mark speaker as arrived" %} {% endif %}