From 58bee83a81abfc40201fe4f3f575743f92b57e70 Mon Sep 17 00:00:00 2001 From: therbret Date: Tue, 4 Oct 2022 00:19:19 +0200 Subject: [PATCH] Allow displaying a link and a download for event challenges --- src/events/templates/events/ctf_info.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) mode change 100644 => 100755 src/events/templates/events/ctf_info.html 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 %}