Improve import command

This commit is contained in:
Joakim Hellsén 2026-01-05 18:46:46 +01:00
commit 1d6c52325c
No known key found for this signature in database
30 changed files with 2628 additions and 554 deletions

View file

@ -22,12 +22,12 @@
flex: 1 1 160px;
text-align: center">
<div style="margin-bottom: 0.25rem;">
{% if item.game.box_art_base_url %}
<img src="{{ item.game.box_art_base_url }}"
{% if item.game.box_art_best_url %}
<img src="{{ item.game.box_art_best_url }}"
alt="Box art for {{ item.game.display_name }}"
width="180"
height="240"
style="border-radius: 8px">
style="border-radius: 8px" />
{% else %}
<div style="width: 180px;
height: 240px;
@ -39,13 +39,13 @@
font-size: 0.8rem;
margin: 0 auto">
🎮
<br>
<br />
No Image
</div>
{% endif %}
</div>
<h4 style="margin: 0;">
<a href="{% url 'twitch:game_detail' item.game.id %}"
<a href="{% url 'twitch:game_detail' item.game.twitch_id %}"
style="text-decoration: none;
color: inherit">{{ item.game.display_name }}</a>
</h4>