Browse Source

refer to player_found_objective instead of objective

QR-seachgame
Burathar 3 years ago
parent
commit
b25ad471cf
  1. 4
      app/templates/game_player.html

4
app/templates/game_player.html

@ -69,7 +69,7 @@
</div> </div>
{% endif %} {% endif %}
{% if player.found_objectives %} {% if player.player_found_objectives %}
<div class="row"> <div class="row">
<h2>Found Objectives:</h2> <h2>Found Objectives:</h2>
@ -83,7 +83,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for pfo in player.found_objectives %} {% for pfo in player.player_found_objectives %}
<tr> <tr>
<td>{{ pfo.objective.name }}</td> <td>{{ pfo.objective.name }}</td>
<td>{{ moment(pfo.timestamp).fromNow() }}</td> <td>{{ moment(pfo.timestamp).fromNow() }}</td>

Loading…
Cancel
Save