{% extends "base.twig" %} {% import "macros/profileelements.twig" as profile %} {% import "macros/formelements.twig" as formelements %} {% import "macros/messagebox.twig" as msgbox %} {% block page_title %} {{ i18n.getMessage("stadium_navlabel") }} {% endblock %} {% block page_content %} {# show current stadium details #} {% if stadium is defined and stadium|length > 0 %} {{ profile.infofield(i18n.getMessage("entity_stadium_name"), stadium.name) }} {% set capacity = stadium.places_stands + stadium.places_seats + stadium.places_stands_grand + stadium.places_seats_grand + stadium.places_vip %} {{ profile.infofield(i18n.getMessage("stadium_capacity"), capacity|number_format(0, ',', ' ')) }}
{{ i18n.getMessage("entity_stadium_level_" ~ upgradetype) }} | {% for level in 1..5 %} {% endfor %} |
{% if stadium['level_' ~ upgradetype] < 5 %}
{{ i18n.getMessage("stadium_maintenance_upgradecost_label") }} {{ upgradeCosts[upgradetype]|number_format(0, ',', ' ') }} {{ env.getConfig("game_currency") }} {% else %} - {% endif %} |
{% if stadium['level_' ~ upgradetype] < 5 %} {{ i18n.getMessage("stadium_upgrade_button") }} {% endif %} |
{{ i18n.getMessage("stadium_construction_ongoing") }}
{{ profile.infofield(i18n.getMessage("entity_stadiumconstruction_builder_id"), construction.builder_name) }} {{ profile.infofield(i18n.getMessage("entity_stadiumconstruction_started"), env.getFormattedDatetime(construction.started)) }} {{ profile.infofield(i18n.getMessage("entity_stadiumconstruction_deadline"), env.getFormattedDatetime(construction.deadline)) }} {{ profile.infofield(i18n.getMessage("entity_stadiumconstruction_p_steh"), construction.p_steh) }} {{ profile.infofield(i18n.getMessage("entity_stadiumconstruction_p_sitz"), construction.p_sitz) }} {{ profile.infofield(i18n.getMessage("entity_stadiumconstruction_p_haupt_steh"), construction.p_haupt_steh) }} {{ profile.infofield(i18n.getMessage("entity_stadiumconstruction_p_haupt_sitz"), construction.p_haupt_sitz) }} {{ profile.infofield(i18n.getMessage("entity_stadiumconstruction_p_vip"), construction.p_vip) }}{{ i18n.getMessage("stadium_extend_impossible") }}
{% endif %} {% endif %} {% else %}{{ i18n.getMessage("stadium_nostadium") }}
{% endif %} {% endblock %}