{% extends 'core/layout.html' %} {% load static %} {% load i18n %} {% load string_utils %} {% block title %} {% blocktranslate with name=object.name %} Playing {{ name }} {% endblocktranslate %} {% endblock title %} {% block breadcrumb %} {# NOTE: Translations that are 'supossed' to be on the go should be declared first #} {# NOTE: Is should add a 'as' in order to NOT render on template #} {% translate "session detail" as breadcrumb_translation %} {% include 'common/include/breadcrumb.html' with breadcrumbs='sessions=roleplay:session:list,session detail' %} {% endblock breadcrumb %} {% block body_content %}

{{ object.name }}


{% if object.next_game %} {% translate "next session will be"|capfirst %}
{{ object.next_game }}
{% endif %}

{% translate "what will happen?"|capfirstletter %}


{{ object.plot|linebreaksbr }}

{% translate "about the world..."|capfirst %}


{{ object.campaign.place.name }}

{{ object.campaign.place.description|safe|truncatechars_html:250 }}
{% translate "learn more"|capfirst %}

{% blocktranslate count player_count=object.campaign.users.count trimmed %} {{ player_count }} player {% plural %} {{ player_count }} players {% endblocktranslate %}

{% for player in object.campaign.users.all %}
{% if player.profile.image %} {% translate {% else %} {% translate {% endif %}

{{ player.username }}

{% empty %}

{% translate "no players"|capfirst %}

{% endfor %}
{% endblock body_content %}