mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
Truncate long links in topic list
This commit is contained in:
parent
49d5a123e5
commit
c2265313d8
@ -37,7 +37,7 @@
|
|||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if topic.link %}
|
{% 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 %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user