<commit_before>{% extends "machiavelli/base.html" %}

{% load i18n %}
{% load game_icons %}

{% block head_title %}{% trans "Game:" %} {{ game.slug }}{% endblock %}

{% block body %}
<div id="game_info">
<ul>
<li>{% trans "Game" %}: {{ game.slug }}</li>
<li>{% trans "Year" %}: {{ game.year|default_if_none:"" }}</li>
<li>{% trans "Season" %}: {{ game.get_season_display|default_if_none:"" }}</li>
<li>{% trans "Phase" %}: {{ game.get_phase_display }}</li>
<li>{% trans "Time left" %}: {{ game.next_phase_change|timeuntil }}</li>
{% if player %}
<li>{% trans "Power" %}:
	{% if player.country %}
		{% trans player.country %}
	{% endif %}
</li>
{% else %}
<li>
		{% ifnotequal game.slots 0 %}
			<a href="{% url machiavelli.views.join_game game.pk %}">{% trans "Join game" %}</a>
		{% endifnotequal %}
</li>
{% endif %}
{% if rules %}
<li>
{% trans "Rules" %}: {% rule_icons game.configuration %}
</li>
{% endif %}
</ul>
</div>



<div class="col1">
<div id="powers">
{% if player.country %}
<div style="text-align: center">
<img src="{{ STATIC_URL }}machiavelli/img/banner-{{ player.country.css_class }}.png" />
</div>
{% endif %}
{% ifequal game.slots 0 %}
{% for p in player_list %}
	{% if p.user %}
	<div class="player {{ p.country.css_class }}">
	<div><strong>{% trans p.country %}</strong>
	{% ifequal p.done 1 %}
	<span><img src="{{ STATIC_URL }}machiavelli/img/icon-yes.gif" /></span>
	{% endifequal %}
	</div>
	<div>{% trans "Cities:" %} {{ p.number_of_cities }}</div>
	<div>{% trans "Units:" %} {{ p.number_of_units }}</div>
{% if player %}
	{% ifnotequal game.phase 0 %}<commit_msg>added conqueror info in show_game<commit_after>{% extends "machiavelli/base.html" %}

{% load i18n %}
{% load game_icons %}

{% block head_title %}{% trans "Game:" %} {{ game.slug }}{% endblock %}

{% block body %}
<div id="game_info">
<ul>
<li>{% trans "Game" %}: {{ game.slug }}</li>
<li>{% trans "Year" %}: {{ game.year|default_if_none:"" }}</li>
<li>{% trans "Season" %}: {{ game.get_season_display|default_if_none:"" }}</li>
<li>{% trans "Phase" %}: {{ game.get_phase_display }}</li>
<li>{% trans "Time left" %}: {{ game.next_phase_change|timeuntil }}</li>
{% if player %}
<li>{% trans "Power" %}:
	{% if player.country %}
		{% trans player.country %}
	{% endif %}
</li>
{% else %}
<li>
		{% ifnotequal game.slots 0 %}
			<a href="{% url machiavelli.views.join_game game.pk %}">{% trans "Join game" %}</a>
		{% endifnotequal %}
</li>
{% endif %}
{% if rules %}
<li>
{% trans "Rules" %}: {% rule_icons game.configuration %}
</li>
{% endif %}
</ul>
</div>



<div class="col1">
<div id="powers">
{% if player.country %}
<div style="text-align: center">
<img src="{{ STATIC_URL }}machiavelli/img/banner-{{ player.country.css_class }}.png" />
</div>
{% endif %}
{% ifequal game.slots 0 %}
{% for p in player_list %}
	{% if p.user %}
	<div class="player {{ p.country.css_class }}">
	<div><strong>{% trans p.country %}</strong>
	{% if p.conqueror %}
		({{ p.conqueror.country }})
	{% endif %}
	{% ifequal p.done 1 %}
	<span><img src="{{ STATIC_URL }}machiavelli/img/icon-yes.gif" /></span>
	{% endifequal %}
	</div>
	<div>{% trans "Cities:" %} {{ p.number_of_cities }}</div>
	<div>{% trans "Units:" %} {{ p.number_of_units }}</div>
{% if player %}
	{% ifnotequal game.phase 0 %}
{'fraction_non_alphanumeric': 0.25481798715203424, 'fraction_numerical': 0.004282655246252677, 'mean_word_length': 4.3257328990228014, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1782831', 'n_tokens_mistral': 1409, 'n_tokens_neox': 1261, 'n_words': 290}