Improve game links
This commit is contained in:
9
games/templates/components/game_link.html
Normal file
9
games/templates/components/game_link.html
Normal file
@ -0,0 +1,9 @@
|
||||
<span class="truncate-container">
|
||||
<a class="underline decoration-slate-500 sm:decoration-2" href="{% url 'view_game' game_id %}">
|
||||
{% if children %}
|
||||
{{ children }}
|
||||
{% else %}
|
||||
{{ name }}
|
||||
{% endif %}
|
||||
</a>
|
||||
</span>
|
Reference in New Issue
Block a user