Skip to content

Commit

Permalink
Add bite code safety warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kz26 committed Feb 26, 2016
1 parent f8eed32 commit 5e47001
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions uchicagohvz/templates/game/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,17 @@ <h3 class="bold text-danger">ZOMBIE</h3>
<p><a href="{{ player.kill_object.get_absolute_url }}">Killed by {{ player.kill_object.killer.user.get_full_name }} on {{ player.kill_object.date }}</a></p>
{% endif %}
{% endif %}

{% if player.active and game.status == 'in_progress' %}
<h3>My Bite Code</h3>
<h4 id="bite_code" style="font-weight: bold;">{{ player.bite_code }}</h4>
{% if player.human %}
<input type="button" value="Hide Bite Code" class="btn btn-danger" onclick="$('#bite_code').hide()">
<input type="button" value="Show Bite Code" class="btn btn-success" onclick="$('#bite_code').show()">
<p class="text-danger">Keep your bite code safe from prying eyes! Don't share it with other humans, don't send it over
the public chatter listhost, etc. (unless you have a death wish, of course.)</p>
{% endif %}


{% if not player.human %}
{% if player.unannotated_kills.count %}
Expand Down

0 comments on commit 5e47001

Please sign in to comment.