2017-11-04 14:30:00 +00:00
{% extends 'base.html' %}
{% load i18n crispy_forms_tags %}
{% load ponyconf_tags i18n %}
{% block proposetab %} class="active"{% endblock %}
{% block content %}
< div class = "page-header" >
< h1 >
{{ talk.title }}
< div class = "pull-right" >
< a href = "{% url 'proposal-dashboard' speaker_token=speaker.token %}" class = "btn btn-primary" >
< span class = "glyphicon glyphicon-chevron-left" > < / span > {% trans "My profile" %}
< / a >
2017-11-04 20:37:53 +00:00
{% if conference.opened_categories.exists %}
2017-11-04 14:30:00 +00:00
< a href = "{% url 'proposal-talk-add' speaker_token=speaker.token %}" class = "btn btn-info" >
< span class = "glyphicon glyphicon-plus" > < / span > {% trans "New proposal" %}
< / a >
2017-11-04 20:37:53 +00:00
{% endif %}
2017-11-04 14:30:00 +00:00
< a href = "{% url 'proposal-talk-edit' speaker_token=speaker.token talk_id=talk.pk %}" class = "btn btn-success" >
< span class = "glyphicon glyphicon-pencil" > < / span > {% trans "Edit this proposal" %}
< / a >
< / div >
< / h1 >
< / div >
< h3 > {% trans "Status" %}< / h3 >
{% if not conference.disclosed_acceptances or talk.accepted is None %}
< p > {% trans "Reviewing in progress, we will keep you informed by mail." %}< / p >
{% elif talk.accepted %}
< p class = "text-success" > {% trans "Accepted!" %}< / p >
{% if talk.confirmed is None %}
< p >
{% trans "Please confirm your participation:" %}
< a href = "{% url 'proposal-talk-confirm' speaker_token=speaker.token talk_id=talk.pk %}" class = "btn btn-success" > {% trans "I will be there!" %}< / a >
< a href = "{% url 'proposal-talk-desist' speaker_token=speaker.token talk_id=talk.pk %}" class = "btn btn-danger" > {% trans "Sorry, couldn't make it :-(" %}< / a >
< / p >
{% elif talk.confirmed %}
< p > < a href = "{% url 'proposal-talk-desist' speaker_token=speaker.token talk_id=talk.pk %}" class = "btn btn-danger" >
{% trans "Sorry, I have to cancel." %}
< / a > < / p >
{% else %}
< p > < a href = "{% url 'proposal-talk-confirm' speaker_token=speaker.token talk_id=talk.pk %}" class = "btn btn-success" >
{% trans "Good news, I finally could be there!" %}
< / a > < / p >
{% endif %}
{% else %}
< p > {% trans "Sorry, refused :-(" %}< / p >
{% endif %}
< h3 > {% trans "Speakers" %}< / h3 >
< p >
{% for spkr in talk.speakers.all %}
{% if forloop.first %}< ul > {% endif %}
< li >
< a href = "{% url 'proposal-speaker-edit' speaker_token=speaker.token talk_id=talk.pk co_speaker_id=spkr.pk %}" > {{ spkr }}< / a >
2017-11-04 19:11:50 +00:00
{% if spkr.pk == speaker.pk %}
({% trans "you!" %})
{% else %}
< a href = "{% url 'proposal-speaker-remove' speaker_token=speaker.token talk_id=talk.pk co_speaker_id=spkr.pk %}" class = "btn btn-xs btn-danger" >
< span class = " glyphicon glyphicon-remove" > < / span > {% trans "remove" %}
< / a >
{% endif %}
2017-11-04 14:30:00 +00:00
< / li >
{% if forloop.last %}< / ul > {% endif %}
{% endfor %}
< a href = "{% url 'proposal-speaker-add' speaker_token=speaker.token talk_id=talk.pk %}" class = "btn btn-sm btn-success" >
< span class = "glyphicon glyphicon-plus" > < / span > {% trans "Add a co-speaker" %}
< / a >
< / p >
< h3 > {% trans "Description" %}< / h3 >
< p >
{% if talk.description %}
{{ talk.description|linebreaksbr }}
{% else %}
< i > {% trans "No description provided." %}< / i >
{% endif %}
< / p >
2017-11-14 23:03:13 +00:00
{% if talk.materials or talk.video %}
< h3 > {% trans "Materials and video" %}< / h3 >
< dl class = "dl-horizontal" >
{% if talk.materials %}
< dt > {% trans "Materials" %}< / dt >
< dd > < a href = "{{ talk.materials.url }}" > {{ talk.materials_name }}< / a > < / dd >
{% endif %}
{% if talk.video %}
< dt > {% trans "Video" %}< / dt >
< dd > < a href = "{{ talk.video }}" > {% trans "download" %}< / a > < / dd >
{% endif %}
< / dl >
{% endif %}
2017-11-04 14:30:00 +00:00
< h3 > {% trans "Message to organizers" %}< / h3 >
< p >
{% if talk.notes %}
{{ talk.notes|linebreaksbr }}
{% else %}
< i > {% trans "No description provided." %}< / i >
{% endif %}
< / p >
{% endblock %}