{% blocktrans with state=course.get_state_display %}“{{ state }}” course{% endblocktrans %}
{% blocktrans with access=course.get_access_display %}“{{ access }}” access{% endblocktrans %}
{% if user == course.author or user in self.collaborators %}
{% if course.registration_enabled %}
{% trans "Opened for registration" %}
{% else %}
{% trans "Closed for registration" %}
{% endif %}
{% endif %}
{% if user == course.author %}
{% trans "I write this course." %}
{% elif contribution %}
{% blocktrans with role=contribution.get_role_display %}I am “{{ role }}” on this course.{% endblocktrans %}
{% endif %}