2016-11-12 12:56:21 +00:00
{% extends 'staff.html' %}
2016-07-23 15:20:57 +00:00
{% load accounts_tags i18n avatar_tags %}
2016-06-25 15:38:01 +00:00
2016-11-12 12:56:21 +00:00
{% block participantstab %} class="active"{% endblock %}
2016-06-07 20:59:13 +00:00
{% block content %}
2016-06-25 15:38:01 +00:00
< h1 > {{ profile }}< / h1 >
2016-09-14 20:46:54 +00:00
{% if request|staff %}
2016-11-12 12:56:21 +00:00
< a href = "{% url 'user-conversation' profile.user.username %}" class = "btn btn-primary " > {% trans "Contact" %}< / a >
2016-09-14 20:46:54 +00:00
{% endif %}
2016-08-08 06:39:24 +00:00
{% if request|edit_profile:profile %}
< a href = "{% url 'edit-participant' profile.user.username %}" class = "btn btn-success" > {% trans "Edit" %}< / a >
{% endif %}
2016-08-04 21:31:43 +00:00
< img class = "pull-right" src = "{% avatar_url profile.user 160 %}" / >
2016-07-23 15:20:57 +00:00
2016-07-23 10:03:12 +00:00
< h2 > {% trans "Biography" %}< / h2 >
2016-06-25 15:38:01 +00:00
< p > {{ profile.biography }}< / p >
2016-10-21 23:34:43 +00:00
{% if request|staff %}
< p > < a href = "mailto:{{ profile.user.email }}?subject=[Capitole du Libre]" > {{ profile.user.email }}< / a > < / p >
{% endif %}
2016-07-23 10:03:12 +00:00
< h2 > {% trans "Talks" %}< / h2 >
2016-07-04 23:16:33 +00:00
{% include "proposals/_talk_list.html" %}
2016-06-07 20:59:13 +00:00
2016-06-25 15:38:01 +00:00
{% if request|edit_profile:profile %}
2016-09-14 20:31:57 +00:00
2016-10-21 23:34:43 +00:00
< h2 > {% trans "Information" %}< / h2 >
< h3 > {% trans "Travels and hosting" %}< / h3 >
2016-09-14 20:31:57 +00:00
< ul >
2016-10-13 18:31:51 +00:00
< li >
< b > {% trans "Need transport:" %}< / b > {{ participation.need_transport|yesno:"Yes,No,Not specified" }}
{% if participation.need_transport %}
< ul >
{% comment %}
< li > < b > {% trans "Arrival:" %}< / b > {{ participation.arrival }}< / li >
< li > < b > {% trans "Departure:" %}< / b > {{ participation.departure }}< / li >
{% endcomment %}
< li > < b > {% trans "Accepted transport means:" %}< / b > {% for transport in participation.transport.all %}{% if not forloop.first %}, {% endif %}{{ transport }}{% endfor %}< / li >
< li > < b > {% trans "Departure city:" %}< / b > {{ participation.transport_city_outward|default:'Not specified' }}< / li >
{% if participation.transport_city_return %}
< li > < b > {% trans "Return city:" %}< / b > {{ participation.transport_city_return }}< / li >
{% endif %}
< li > < b > {% trans "Transport booked:" %}< / b > {{ participation.transport_booked|yesno }}< / li >
< / ul >
{% endif %}
< / li >
2016-10-06 19:47:39 +00:00
< li > < b > {% trans "Need accommodation:" %}< / b > {% if participation.accommodation is None %}Not specified{% else %}{{ participation.get_accommodation_display }}{% endif %}< / li >
2016-10-06 19:24:52 +00:00
< li > < b > {% trans "Accommodation booked:" %}< / b > {{ participation.accommodation_booked|yesno }}< / li >
2016-10-21 23:34:43 +00:00
< / ul >
< h3 > {% trans "Talk needs" %}< / h3 >
< ul >
2016-09-14 20:31:57 +00:00
< li > < b > {% trans "Video output:" %}< / b > {% for conn in participation.connector.all %}{% if not forloop.first %}, {% endif %}{{ conn }}{% endfor %}< / li >
< li > < b > {% trans "Need sound:" %}< / b > {{ participation.sound|yesno }}< / li >
< li > < b > {% trans "Ok to be recorded on video:" %}< / b > {{ participation.videotaped|yesno }}< / li >
2016-10-13 18:33:44 +00:00
< li > < b > {% trans "Video licence:" %}< / b > {{ participation.get_video_licence_display }}< / li >
2016-09-14 20:31:57 +00:00
< / ul >
2016-10-21 23:34:43 +00:00
< h3 > {% trans "Constraints" %}< / h3 >
2016-09-14 20:35:40 +00:00
< p > {{ participation.constraints|linebreaksbr }}< / p >
2016-09-14 20:31:57 +00:00
2016-10-21 23:34:43 +00:00
< h3 > {% trans "Notes" %}< / h3 >
2016-09-14 20:35:40 +00:00
< p > {{ participation.notes|linebreaksbr }}< / p >
2016-10-03 12:35:26 +00:00
2016-06-25 15:38:01 +00:00
{% endif %}
2016-06-07 20:59:13 +00:00
{% endblock %}