mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-14 02:34:23 +01:00
Add team fields
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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. #}
|
||||
|
||||
@@ -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. #}
|
||||
|
||||
Reference in New Issue
Block a user