mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 05:54:19 +01:00
Truncating team names properly when scores arent hidden (#617)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
{% if hide_scores() %}
|
||||
<span>{{ team.name | truncate(50) }}</span>
|
||||
{% else %}
|
||||
<a href="{{ request.script_root }}/team/{{ team.id }}">{{ team.name }}</a>
|
||||
<a href="{{ request.script_root }}/team/{{ team.id }}">{{ team.name | truncate(50) }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="text-center" style="width: 10px;">
|
||||
|
||||
Reference in New Issue
Block a user