[videogames] Fix missing covers
This commit is contained in:
@ -154,7 +154,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">Date</th>
|
<th scope="col">Date</th>
|
||||||
<th scope="col">Cover</th>
|
<th scope="col">Cover/Screenshot</th>
|
||||||
<th scope="col">Title</th>
|
<th scope="col">Title</th>
|
||||||
<th scope="col">Time played (mins)</th>
|
<th scope="col">Time played (mins)</th>
|
||||||
<th scope="col">Percent complete</th>
|
<th scope="col">Percent complete</th>
|
||||||
@ -167,8 +167,8 @@
|
|||||||
{% if scrobble.videogame_screenshot %}
|
{% if scrobble.videogame_screenshot %}
|
||||||
<td><img src="{{scrobble.videogame_screenshot_medium.url}}" width=25 height=25 style="border:1px solid black;" /></td>
|
<td><img src="{{scrobble.videogame_screenshot_medium.url}}" width=25 height=25 style="border:1px solid black;" /></td>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if scrobble.videogame.hltb_cover %}
|
{% if scrobble.media_obj.hltb_cover %}
|
||||||
<td><img src="{{scrobble.videogame.hltb_cover_medium.url}}" width=25 height=25 style="border:1px solid black;" /></td>
|
<td><img src="{{scrobble.media_obj.hltb_cover_medium.url}}" width=25 height=25 style="border:1px solid black;" /></td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td><a href="{{scrobble.media_obj.get_absolute_url}}">{{scrobble.media_obj.title}}</a></td>
|
<td><a href="{{scrobble.media_obj.get_absolute_url}}">{{scrobble.media_obj.title}}</a></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user