1. Kevin Veroneau
  2. indie-community

Source

indie-community / gamedb / templates / gamedb / game_detail.html

Diff from to

File gamedb/templates/gamedb/game_detail.html

  • Ignore whitespace
     <div class="alert alert-info">Game Title</div>
     {{game.title}}
     <div class="alert alert-info">Game Type</div>
-    {{game.get_game_type_display}}
+    <a href="{% url 'game_list' %}?game_type={{game.game_type}}">{{game.get_game_type_display}}</a>
     <div class="alert alert-info">Game Genre</div>
-    {{game.get_genre_display}}
+    <a href="{% url 'game_list' %}?genre={{game.genre}}">{{game.get_genre_display}}</a>
     <div class="alert alert-info">Game Style</div>
-    {{game.get_style_display}}
+    <a href="{% url 'game_list' %}?style={{game.style}}">{{game.get_style_display}}</a>
     <div class="alert alert-info">Engine Version used</div>
     {{game.engine}}
     <div class="alert alert-info">Download this game</div>