Truncate long links in topic list

This commit is contained in:
rubenwardy 2018-12-24 00:37:44 +00:00
parent 49d5a123e5
commit c2265313d8
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
</a>
{% endif %}
{% if topic.link %}
<a class="btn btn-info" href="{{ topic.link }}">{{ topic.link | domain }}</a>
<a class="btn btn-info" href="{{ topic.link }}">{{ topic.link | domain | truncate(18) }}</a>
{% endif %}
</td>
</tr>