NDOJ/templates/contest/private.html

21 lines
615 B
HTML
Raw Permalink Normal View History

2020-01-21 06:35:58 +00:00
{% extends "base.html" %}
{% block body %}
2023-01-27 23:11:10 +00:00
{% if error.is_private %}
<p><i>{{ _('This contest is private to specific users.') }}</i></p>
{% endif %}
2020-01-21 06:35:58 +00:00
2023-01-27 23:11:10 +00:00
{% 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>
2020-01-21 06:35:58 +00:00
{% endif %}
2023-01-27 23:11:10 +00:00
<ul>
{% for org in error.orgs %}
<li><a href="{{ org.get_absolute_url() }}">{{ org.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
2020-01-21 06:35:58 +00:00
{% endblock %}