Truncating team names properly when scores arent hidden (#617)

selenium-screenshot-testing
Kevin Chung 2018-04-16 00:54:53 -04:00 committed by GitHub
parent 51d098080f
commit 9c812ad52e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
{% if hide_scores() %} {% if hide_scores() %}
<span>{{ team.name | truncate(50) }}</span> <span>{{ team.name | truncate(50) }}</span>
{% else %} {% 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 %} {% endif %}
</td> </td>
<td class="text-center" style="width: 10px;"> <td class="text-center" style="width: 10px;">