Skip to content
Snippets Groups Projects

join sifrovacka only when it is active

Merged zdenek.kubala requested to merge djz.88/sifrovacka:main into main
2 files
+ 23
14
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -39,6 +39,7 @@
<hr>
{% if request.user.is_authenticated %}
{% if not sifrovacka_stage_count == 0 %}
{% if not is_archived_sifrovacka %}
{% if not sifrovacka_current_stage_urlhash %}
<form action="{% url 'home' %}" method="post">
{% csrf_token %}
@@ -54,6 +55,11 @@
{% endif %}
{% endfor %}
{% endif %}
{% else %}
<div class="alert alert--grey-125">
<span> Šifrovačka skončila a není možné se k ní přihlásit.</span>
</div>
{% endif %}
{% else %}
<div class="alert alert--grey-125">
<span> Šifrovačka zatím nemá žádné úrovně, proto není možné se k ní přihlásit.</span>
Loading