{% extends "global/Page.html" %}
{% load staticfiles otree %}
{% block app_styles %}
{% endblock %}
{% block content %}
{{experiment_name}} (Results) - This is round {{ round_num }}
| Round |
{% for g in group.in_all_rounds %}
{{ g.round_number }} |
{% endfor %}
| Your Contribution |
{% for p in player.in_all_rounds %}
{{ p.contribution }} |
{% endfor %}
{% for o in player.get_others_in_group %}
| Player {{ o.id_in_group }} |
{% for p in o.in_all_rounds %}
{% if p.contribution %}
{{ p.contribution }}
{% endif %}
|
{% endfor %}
{% endfor %}
| Total Contribution |
{% for g in group.in_all_rounds %}
{{ g.total_contribution }} |
{% endfor %}
Earnings history including punishment and reward
| Your Earnings |
{% for p in player.in_all_rounds %}
{{ p.individual_share_after_PR }} |
{% endfor %}
{% for o in player.get_others_in_group %}
| Player {{ o.id_in_group }} |
{% for p in o.in_all_rounds %}
{{ p.individual_share_after_PR }}
|
{% endfor %}
{% endfor %}
| Group Total Earnings |
{% for g in group.in_all_rounds %}
{{ g.total_payoff }} |
{% endfor %}
| Your Total Earnings |
{% for p in player.in_all_rounds %}
{{ p.payoff }} |
{% endfor %}
Manager has Punished/Rewarded
{% for g in group.get_players %}
{% if g.id_in_group == 4 %}
{% if player.id_in_group == 1 %}
| You |
{% else %}
Player 1 |
{% endif %}
{% for p in g.in_all_rounds %}
{% if p.punish_1 %}
-{{ Constants.punishment_amount }}
{% elif p.reward_1 %}
+{{ Constants.reward_amount }}
{% endif %}
|
{% endfor %}
{% if player.id_in_group == 2 %}
| You |
{% else %}
Player 2 |
{% endif %}
{% for p in g.in_all_rounds %}
{% if p.punish_2 %}
-{{ Constants.punishment_amount }}
{% elif p.reward_2 %}
+{{ Constants.reward_amount }}
{% endif %}
|
{% endfor %}
{% if player.id_in_group == 3 %}
| You |
{% else %}
Player 3 |
{% endif %}
{% for p in g.in_all_rounds %}
{% if p.punish_3 %}
-{{ Constants.punishment_amount }}
{% elif p.reward_3 %}
+{{ Constants.reward_amount }}
{% endif %}
|
{% endfor %}
{% if player.id_in_group == 4 %}
| You |
{% else %}
Player 4 |
{% endif %}
{% for p in g.in_all_rounds %}
{% if p.punish_4 %}
-{{ Constants.punishment_amount }}
{% elif p.reward_4 %}
+{{ Constants.reward_amount }}
{% endif %}
|
{% endfor %}
{% endif %}
{% endfor %}
{% next_button %}
{% endblock %}