X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/5267874f79aa09fd6e4571477de7f6b8673ac979..afb6e7e11fa379a1afbcf8f67f3eaa25888171d2:/Resources/views/session/view.html.twig
diff --git a/Resources/views/session/view.html.twig b/Resources/views/session/view.html.twig
index ccf4efe..02df6db 100644
--- a/Resources/views/session/view.html.twig
+++ b/Resources/views/session/view.html.twig
@@ -61,6 +61,19 @@
{{ 'Consult %pseudonym% profile'|trans({'%pseudonym%': session.application.user.title}) }}
{% endif %}
+ {% if session.snippet.rate is defined and session.snippet.rate %}
+ {% if session.snippet.hat is defined and session.snippet.hat %}
+
+ - {% trans %}Contribution{% endtrans %}
+ - {% if session.snippet.rate == 0 %}{% trans %}To the hat, to cover the costs: talc, electricity, bicycle, server{% endtrans %}{% else %}{{ 'To the hat, ideally %rate% â¬, to cover the costs: talc, electricity, bicycle, server'|trans({'%rate%': session.snippet.rate}) }}{% endif %}
+
+ {% else %}
+
+ - {% trans %}Rate{% endtrans %}
+ - {% if session.snippet.rate == 0 %}{% trans %}Free{% endtrans %}{% else %}{{ session.snippet.rate }} â¬{% endif %}
+
+ {% endif %}
+ {% endif %}
{% trans %}Schedule{% endtrans %}