diff --git a/src/ctfs/templates/ctfs/ctf_info.html b/src/ctfs/templates/ctfs/ctf_info.html old mode 100644 new mode 100755 index 18eca46..6906ea5 --- a/src/ctfs/templates/ctfs/ctf_info.html +++ b/src/ctfs/templates/ctfs/ctf_info.html @@ -31,7 +31,8 @@

{% trans "Already flagged" %}

{% if ctf.ctf_url %} {% trans "Start the challenge" %}
- {% elif ctf.file %} + {% endif %} + {% if ctf.file %} {% trans "Download" %}
{% endif %} {% else %} @@ -40,7 +41,8 @@ {% endif %} {% if ctf.ctf_url %} {% trans "Start the challenge" %}
- {% elif ctf.file %} + {% endif %} + {% if ctf.file %} {% trans "Download" %}
{% endif %}
@@ -48,7 +50,6 @@
- {% endif %} {% endif %} diff --git a/src/events/templates/events/ctf_info.html b/src/events/templates/events/ctf_info.html old mode 100644 new mode 100755 index aca18ef..9dbc80a --- a/src/events/templates/events/ctf_info.html +++ b/src/events/templates/events/ctf_info.html @@ -34,7 +34,8 @@ {% trans "This is a team event, please create or join a team before submitting flags." %} {% if ctf.ctf_url %} {% trans "Start the challenge" %}
- {% elif ctf.file %} + {% endif %} + {% if ctf.file %} {% trans "Download" %}
{% endif %} {% else %} @@ -43,7 +44,8 @@ {% endif %} {% if ctf.ctf_url %} {% trans "Start the challenge" %}
- {% elif ctf.file %} + {% endif %} + {% if ctf.file %} {% trans "Download" %}
{% endif %}
@@ -51,7 +53,6 @@
- {% endif %} {% endif %}