Skip to content
Snippets Groups Projects
Commit 39934fc3 authored by Lars Beckers's avatar Lars Beckers
Browse files

Fix wrong Jinja test

parent 028e6461
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
{% block title %}Nominate{% endblock %} {% block title %}Nominate{% endblock %}
{% block content %} {% block content %}
{% if inst is None %} {% if inst is none %}
<div class="alert alert-danger" role="alert">Sorry, there is currently no nomination process running.</div> <div class="alert alert-danger" role="alert">Sorry, there is currently no nomination process running.</div>
{% elif not inst.enabled %} {% elif not inst.enabled %}
<div class="alert alert-warning" role="alert">Sorry, you cannot nominate for {{ inst.name }}, currently. The results will be announced at {{ inst.date }}.</div> <div class="alert alert-warning" role="alert">Sorry, you cannot nominate for {{ inst.name }}, currently. The results will be announced at {{ inst.date }}.</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment