|
@@ -1,15 +1,17 @@
|
|
|
<div class="card">
|
|
|
<div class="row no-gutters">
|
|
|
<div class="col-auto">
|
|
|
- {% if game.screenshot %}
|
|
|
- <img src="{{game.screenshot.url}}" class="img-fluid" alt="Screenshot of {{game.name}}">
|
|
|
+ {% if game.screenshot %}
|
|
|
+ <img src="{{game.screenshot.url}}" class="img-fluid" alt="Screenshot of {{game.name}}">
|
|
|
+ {% elif game.marquee %}
|
|
|
+ <img src="{{game.marquee.url}}" class="img-fluid" alt="Title of {{game.name}}">
|
|
|
{% else %}
|
|
|
- <img src="{{game.marquee.url}}" class="img-fluid" alt="Title of {{game.name}}">
|
|
|
- {% endif %}
|
|
|
+ <h2>{{game.name}}</h2>
|
|
|
+ {% endif %}
|
|
|
</div>
|
|
|
<div class="col">
|
|
|
<div class="card-block px-2">
|
|
|
- <h4 class="card-title">{{game.name}}{% if game.region %} [{{game.region}}]{% endif %}</h4>
|
|
|
+ <h4 class="card-title">{{game.name}}{% if game.region %} [{{game.region}}]{% endif %}</h4>
|
|
|
<p class="card-text">{{game.description|truncatechars:220}}</p>
|
|
|
<a href="{{game.get_absolute_url}}" class="btn btn-primary">More</a>
|
|
|
<a href="{{game.rom_file.url}}" class="btn btn-alert">Download</a>
|
|
@@ -20,7 +22,7 @@
|
|
|
<a href="{{game.game_system.get_absolute_url}}">
|
|
|
<span class="system-badge badge badge-success {{game.game_system.retropie_slug}}">{{game.game_system.name|upper}}</span>
|
|
|
</a>
|
|
|
- {{game.rating_by_100}}/100
|
|
|
+ <b> {{game.rating_by_100}}/100</b>
|
|
|
|
|
|
<div id="genre-badges" style="float:right">
|
|
|
{% for genre in game.genre.all %}
|