Source

indie-community / gamedb / templates / gamedb / fragments / game_table.html

Full commit
1
2
3
4
5
6
7
8
{% load ohrrpgce %}<table class="table table-striped">
  <thead><tr><th>Game Title</th><th>Author</th><th>Type</th><th>Genre</th></tr></thead>
  <tbody>
    {% for game in game_list %}
    <tr><td>{{game|link}}</td><td>{{game.owner}}</td><td><a href="?game_type={{game.game_type}}">{{game.get_game_type_display}}</a></td><td><a href="?genre={{game.genre}}">{{game.get_genre_display}}</a></td></tr>
    {% endfor %}
  </tbody>
</table>