{% extends "in_game.html" %} {% block game_content %}

Role Phase{% if times_started > 1 %} #{{times_started}} {% endif %}

Ready up!

{% csrf_token %}
{% if not is_observer %} {% endif %}
{% endblock %} {% block game_handle_new_status %} if(oldStatus.game_phase == newStatus.game_phase && oldStatus.times_started == newStatus.times_started) { if(JSON.stringify(oldStatus.ready) != JSON.stringify(newStatus.ready)) { newStatus.ready.forEach(function(player) { $('#player-' + player.order).addClass('ready'); }); statusObj.ready = newStatus.ready; } return true; } else { return false; } {% endblock %}