e4c_expe2/a5_survey/templates/a5_survey/FinalPage2.html
Johanne Trotin 981d06d34c Expé E4C v6
2025-03-30 12:32:15 +02:00

119 lines
4.7 KiB
HTML

{% load otree %}
{% block title %}
YOUR GAIN
{% endblock %}
{% block content %}
<div class="card bg-light m-3">
<div class="card-body">
{% if player.game_select_n != "MDG_class" %}
<br>
<h4>You have completed the experiment and earned a total of <b><span id="payoff">{{ player.gainfinal_eur_showupfee_f2025|to2}} EUROS</span></b> <br>
= Gain games (rounded amount)= {{ player.gainfinal_eur_f|to2}}
<br> + questionnaire tasks = 3
<br> + questionnaire CRT = {{ player.gain_crt|to2}}
<br> + showup-fee = {{ Constants.showupfee|to2}} </h4>
<br>
{% elif player.game_select_n == "MDG_class" and player.dictatorYES == 1 %}
<br>
<h4>You have completed the experiment and earned a total of <b><span id="payoff">{{ player.gainfinal_eur_showupfee_f2025|to2}} EUROS</span></b> <br>
= Gain games (rounded amount)= {{ player.gainfinal_eur_f|to2}}
<br> + questionnaire tasks = 3
<br> + questionnaire CRT = {{ player.gain_crt|to2}}
<br> + showup-fee = {{ Constants.showupfee|to2}} </h4>
<br>
{% endif %}
<br>
</div></div>
<div class="card bg-light m-3">
<div class="card-body">
<p>
<h4>
The game is over.
The randomly selected game is game number: <b>{{ player.game_num_select}}</b> // {{player.game_select_n}}
</h4>
</p>
{% if player.game_select_n == "gp" %}
<p>
The random draw is: <b>{{player.tirageriskresult_en}}</b>
<br> Your investment in the risky asset: <b>{{player.risk11_a}}</b>
<br> You kept: <b>{{player.risk11_b}}</b>
<br> Your gain for this game is: <b>{{player.gainrisk}}</b> ECU(s) - (exchange rate: 1ECU = 0.8 EUROs)
<br> Your gain in euros is: <b>{{player.gainrisk_eur}}</b> EUROS(s)
</p>
{% elif player.game_select_n == "bw" %}
<p> The selected color is: <b>{{player.tirage_color_n}}</b>
<br> Your winnings for this game are: <b>{{player.gain_bw}}</b> ECU(s) - (exchange rate: 1 ECU = 0.8 EUROs)
<br> Your gain in euros is: <b>{{player.gain_bw_eur}}</b> EUROS(s)
</p>
{% elif player.game_select_n == "MDG_asso" %}
<p>
The randomly selected round is: <b>{{player.mdgasso_round_selected}}</b>
<br> Your endowment during this round was <b>{{player.mdgasso_dot1_select}} ECUs</b>.
<br> The value of <b>S</b> was <b>{{player.mdgasso_s1_select}}</b>.
<br> The value of <b>G</b> was <b>{{player.mdgasso_g1_select}}</b>.
<br><br> You chose to keep <b>{{player.mdgasso_keep_select}} </b> POINTs and give <b>{{player.mdgasso_sent_select}} </b> POINTs to the organization.
<br><br> Your gain is <b>{{player.mdgasso_gain_dgm}} POINTs ({{player.mdgasso_gain_dgm_eur}} EUROs)</b>.
<br> The organization's gain is <b>{{player.mdgasso_gain_asso}} POINTs ({{player.mdgasso_gain_asso_eur}} EUROs)</b>.
<br> Recall: - (exchange rate: 1 POINT = 0.1 EUROs)
</p>
{% elif player.game_select_n == "MDG_class" %}
Your role in this game is : {{player.dictatorYES_n}}
{% if player.dictatorYES == 1 %}
<p>
<br>
The randomly selected round is: <b>{{player.mdgclass_round_selected}}</b>
<br> Your endowment during this round was <b>{{player.mdgclass_dot1_select}} ECUs</b>.
<br> The value of <b>S</b> was <b>{{player.mdgclass_s1_select}}</b>.
<br> The value of <b>G</b> was <b>{{player.mdgclass_g1_select}}</b>.
<br><br> You chose to keep <b>{{player.mdgclass_keep_select}} </b> POINTs and give <b>{{player.mdgclass_sent_select}} </b> POINTs to player 2.
<br><br> Your gain is <b>{{player.mdgclass_gain_dgm}} POINTs ({{player.mdgclass_gain_dgm_eur}} EUROs)</b>.
<br> Player 2's gain is <b>{{player.mdgclass_gain_joueur2}} POINTs ({{player.mdgclass_gain_joueur2_eur}} EUROs)</b>.
<br> Recall: - (exchange rate: 1 POINT = 0.1 EUROs)
</p>
{% elif player.dictatorYES == 0 %}
<p>
<br> We must wait for the response of the second player before communicating your gain to you.
An email will be sent to you shortly to announce your gain and the procedures for retrieving your gain.
</p>
{% endif %}
{% endif %}
</div>
</div>
<p>{% next_button %}</p>
{% endblock %}