NDOJ/templates/contest/private.html
2020-01-21 15:35:58 +09:00

20 lines
679 B
HTML

{% extends "base.html" %}
{% block body %}
{% if error.is_private %}
<p><i>{{ _('This contest is private to specific users.') }}</i></p>
{% endif %}
{% if error.is_organization_private %}
{% if error.is_private %}
<p>{{ _('Additionally, only the following organizations may access this contest:') }}</p>
{% else %}
<p>{{ _('Only the following organizations may access this contest:') }}</p>
{% endif %}
<ul>
{% for org in error.orgs %}
<li><a href="{{ org.get_absolute_url() }}">{{ org.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}