Add team fields

This commit is contained in:
Kevin Chung
2020-08-20 15:55:57 -04:00
parent bec48aaabc
commit e819659d97
3 changed files with 16 additions and 0 deletions

View File

@@ -137,6 +137,12 @@
</h3>
{% endif %}
{% for field in team.get_fields(admin=true) %}
<h3 class="d-block">
{{ field.name }}: {{ field.value }}
</h3>
{% endfor %}
<h2 class="text-center">{{ members | length }} members</h2>
<h3 id="team-place" class="text-center">
{% if place %}

View File

@@ -126,6 +126,11 @@
</span>
</h3>
{% endif %}
{% for field in team.fields %}
<h3 class="d-block">
{{ field.name }}: {{ field.value }}
</h3>
{% endfor %}
<h2 id="team-place" class="text-center">
{# This intentionally hides the team's place when scores are hidden because this can be their internal profile
and we don't want to leak their place in the CTF. #}

View File

@@ -25,6 +25,11 @@
</span>
</h3>
{% endif %}
{% for field in team.fields %}
<h3 class="d-block">
{{ field.name }}: {{ field.value }}
</h3>
{% endfor %}
<h2 id="team-place" class="text-center">
{# This intentionally hides the team's place when scores are hidden because this can be their internal profile
and we don't want to leak their place in the CTF. #}