diff --git a/src/accounts/templates/accounts/profile.html b/src/accounts/templates/accounts/profile.html index 969b29e..c80fe1f 100644 --- a/src/accounts/templates/accounts/profile.html +++ b/src/accounts/templates/accounts/profile.html @@ -18,7 +18,7 @@
{% for s in solves %}{% trans "Congratulation !" %}
- {% elif alvalitated == True %} -{% trans "Already flagged" %}
- {% if ctf.ctf_url %} - {% trans "Start the challenge" %} - {% elif ctf.file %} - {% trans "Download" %} - {% endif %} - {% else %} - {% if failed %} -{% trans "Wrong flag ! You can do it !" %}
- {% endif %} - {% if ctf.ctf_url %} - {% trans "Start the challenge" %} - {% elif ctf.file %} - {% trans "Download" %} - {% endif %} - - - {% endif %} - {% endif %} -{% trans "Username" %} | -{% trans "Website" %} | -{% trans "Score" %} | -{% trans "Date" %} | -
---|---|---|---|
{{ s.user.username }} | -{{ s.user.userprofileinfo.portfolio_site }} | -{{ s.user.userprofileinfo.score }} | -{{ s.flag_date }} | -
{% trans "Nobody have solved this CTF." %}
- {% endif %} -- | {% trans "Username" %} | -{% trans "Score" %} | -{% trans "Solved" %} | -||
---|---|---|---|---|---|
✓ | - {% else %} -✕ | - {% endif %} - {% else %} -- {% endif %} - | {{ ctf.name }} | -{{ ctf.points }} | -{{ ctf.solved_num }} | -
{% trans "No ctf available for this category." %}
- {% endif %} -{% trans "Congratulation !" %}
- {% elif alvalitated == True %} -{% trans "Already flagged" %}
- {% if ctf.ctf_url %} - {% trans "Start the challenge" %} - {% elif ctf.file %} - {% trans "Download" %} - {% endif %} - {% else %} - {% if failed %} -{% trans "Wrong flag ! You can do it !" %}
- {% endif %} - {% if ctf.ctf_url %} - {% trans "Start the challenge" %} - {% elif ctf.file %} - {% trans "Download" %} - {% endif %} - - - {% endif %} - {% endif %} -{% trans "Username" %} | -{% trans "Website" %} | -{% trans "Score" %} | -{% trans "Date" %} | -
---|---|---|---|
{{ s.user.username }} | -{{ s.user.userprofileinfo.portfolio_site }} | -{{ s.user.userprofileinfo.score }} | -{{ s.flag_date }} | -
{% trans "Nobody have solved this CTF." %}
- {% endif %} -- | {% trans "Username" %} | -{% trans "Score" %} | -{% trans "Solved" %} | -||
---|---|---|---|---|---|
✓ | - {% else %} -✕ | - {% endif %} - {% else %} -- {% endif %} - | {{ ctf.name }} | -{{ ctf.points }} | -{{ ctf.solved_num }} | -
{% trans "No ctf available for this category." %}
- {% endif %} -