{% load otree static %} {% for p in other_players %}
{% ifequal p.role "buyer" %}

Buyer B{{ p.value_cost }}{% ifequal p.id_in_group player.id_in_group %} (YOU){% endifequal %}

Value

{# {{ p.value_cost }} #} {{ p.value_cost }}

{% if p.active %} {% if p.traded%} ALREADY TRADED{% else %} Negotiating{% endif %} {% else %} {% if p.traded%} ALREADY TRADED{% else %} Waiting{% endif %} {% endif %}

{% else %}

Seller S{{ p.value_cost }}{% ifequal p.id_in_group player.id_in_group %} (YOU){% endifequal %}

Cost

{# {{ p.value_cost }} #} {{ p.value_cost }}

{% if p.active %} {% if p.traded%} ALREADY TRADED{% else %} Negotiating{% endif %} {% else %} {% if p.traded%} ALREADY TRADED{% else %} Waiting{% endif %} {% endif %}

{% endifequal %}
{% endfor %}
Round {{ subsession.period }} of Market {{ session.vars.current_market }}
{% ifequal player.role "buyer" %}
You are buyer B{{ player.value_cost }}.
{% else %}
You are seller S{{ player.value_cost }}.
{% endifequal %}