- {% if session.snippet.description is defined and session.snippet.description %}
- <dl>
- <dt>{% trans %}Description{% endtrans %}</dt>
- <dd>{{ session.snippet.description|striptags|markdown_to_html }}</dd>
- </dl>
- {% endif %}
- {% if session.application.user.donation is defined and session.application.user.donation %}
- <dl>
- <dt>{% trans %}Donation{% endtrans %}</dt>
- <dd><a href="{{ session.application.user.donation }}" title="{{ 'Make a donation to %title%'|trans({'%title%': session.application.user.title}) }}">{{ 'Contribute to %title%'|trans({'%title%': session.application.user.title}) }}</a></dd>
- </dl>
+ {% if session.application is defined and session.application %}
+ {% if session.application.dance is defined and session.application.dance %}
+ <dl>
+ <dt>{% trans %}Activity{% endtrans %}</dt>
+ {#<dd>{{ session.application.dance.title }}</dd>#}
+ <dd><a href="{{ session.application.dance.link }}">{{ session.application.dance.title }}</a></dd>
+ </dl>
+ {% endif %}
+ {% if session.application.user is defined and session.application.user %}
+ <dl>
+ <dt>{% trans %}Organizer{% endtrans %}</dt>
+ <dd><a href="{{ session.application.user.link }}">{{ session.application.user.title }}</a></dd>
+ </dl>
+ {% endif %}
+ {% if session.snippet is defined and session.snippet %}
+ {% if session.snippet.description is defined and session.snippet.description %}
+ <dl>
+ <dt>{% trans %}Description{% endtrans %}</dt>
+ <dd>{{ session.snippet.description|striptags|markdown_to_html }}</dd>
+ </dl>
+ {% endif %}
+ {% if session.snippet.class is defined and session.snippet.class %}
+ <dl>
+ <dt>{% trans %}Class{% endtrans %}</dt>
+ <dd>{{ session.snippet.class|striptags|markdown_to_html }}</dd>
+ </dl>
+ {% endif %}
+ {% if session.snippet.contact is defined and session.snippet.contact %}
+ <dl>
+ <dt>{% trans %}Contact{% endtrans %}</dt>
+ <dd><a href="{{ session.application.user.contact }}">{{ 'Send a message to %pseudonym%'|trans({'%pseudonym%': session.application.user.title}) }}</a></dd>
+ </dl>
+ {% endif %}
+ {% if session.snippet.donate is defined and session.snippet.donate %}
+ <dl>
+ <dt>{% trans %}Donate{% endtrans %}</dt>
+ <dd><a href="{{ session.snippet.donate }}">{{ 'Donate to %pseudonym%'|trans({'%pseudonym%': session.application.user.title}) }}</a></dd>
+ </dl>
+ {% endif %}
+ {% if session.snippet.link is defined and session.snippet.link %}
+ <dl>
+ <dt>{% trans %}Link{% endtrans %}</dt>
+ <dd><a href="{{ session.snippet.link }}">{{ 'Link to %pseudonym%'|trans({'%pseudonym%': session.application.user.title}) }}</a></dd>
+ </dl>
+ {% endif %}
+ {% if session.snippet.profile is defined and session.snippet.profile %}
+ <dl>
+ <dt>{% trans %}Social network{% endtrans %}</dt>
+ <dd><a href="{{ session.snippet.profile }}">{{ 'Consult %pseudonym% profile'|trans({'%pseudonym%': session.application.user.title}) }}</a></dd>
+ </dl>
+ {% endif %}
+ {% if session.snippet.rate is defined and session.snippet.rate %}
+ {% if session.snippet.hat is defined and session.snippet.hat %}
+ <dl>
+ <dt>{% trans %}Contribution to costs{% endtrans %}</dt>
+ <dd>{% if session.snippet.rate == 0 %}{% trans %}To the hat, to cover: talc, electricity, bicycle, website, ...{% endtrans %}{% else %}{{ 'To the hat, ideally %rate% €, to cover: talc, electricity, bicycle, website, ...'|trans({'%rate%': session.snippet.rate}) }}{% endif %}</dd>
+ </dl>
+ {% else %}
+ <dl>
+ <dt>{% trans %}Contribution{% endtrans %}</dt>
+ <dd>{% if session.snippet.rate == 0 %}{% trans %}Free{% endtrans %}{% else %}{{ session.snippet.rate }} €{% endif %}</dd>
+ </dl>
+ {% endif %}
+ {% endif %}
+ {% endif %}