{% extends "wafer/base.html" %} {% load i18n %} {% block title %}{{ object.userprofile.display_name }} - {{ WAFER_CONFERENCE_NAME }}{% endblock %} {% block container_class %}userprofile{% endblock %} {% block content %}
{% with profile=object.userprofile %} {% block preamble %} {% endblock preamble %}
{% block mugshot %} {% with profile.avatar_url as avatar_url %} {% if avatar_url != None %} {% endif %} {% endwith %} {% if can_edit %} {% trans 'Edit Mugshot' %}
{% blocktrans trimmed %} Pictures provided by libravatar (which falls back to Gravatar).
Change your picture there. {% endblocktrans %}
{% endif %} {% endblock mugshot %}
{% block side_menu %} {% if can_edit %} {% endif %} {% endblock side_menu %} {% spaceless %} {% block name %}

{% if profile.homepage %} {% endif %} {{ profile.display_name }} {% if profile.homepage %} {% endif %}

{% endblock name %} {% block social %} {% if profile.twitter_handle %}

{% endif %} {% if profile.github_username %}

{% blocktrans with username=profile.github_username %}GitHub: {{ username }}{% endblocktrans %}

{% endif %} {% endblock social %} {% endspaceless %}
{% if profile.bio %}
{{ profile.bio|linebreaks }}
{% endif %} {% if can_edit %} {% if profile.pending_talks.exists or profile.accepted_talks.exists or profile.provisional_talks.exists%} {% block speaker_registered %} {% if profile.is_registered %}
{% blocktrans trimmed %} Registered {% endblocktrans %}
{% else %}
{% blocktrans trimmed %} WARNING: Talk proposal submitted, but speaker hasn't registered to attend. {% endblocktrans %} {% if WAFER_REGISTRATION_OPEN %} {% trans "Register now!" %} {% endif %}
{% endif %} {% if WAFER_REGISTRATION_MODE == 'ticket' and profile.is_registered %}

Tickets: {{ profile.ticket_types }}

{% endif %} {% endblock speaker_registered %} {% endif %} {% endif %} {# Accepted talks are globally visible #} {% if profile.accepted_talks.exists %}

{% trans 'Accepted Talks:' %}

{% for talk in profile.accepted_talks %}

{{ talk.title }}

{{ talk.abstract }}

{% endfor %} {% endif %} {% if profile.cancelled_talks.exists %}

{% trans 'Cancelled Talks:' %}

{% for talk in profile.cancelled_talks %}

{{ talk.title }}

{{ talk.abstract }}

{% endfor %} {% endif %} {# Submitted talk proposals are only visible to the owner #} {% if can_edit %} {% if profile.provisional_talks.exists %}

{% trans 'Provisionally Accepted Talks:' %}

{% for talk in profile.provisional_talks %}

{{ talk.title }}

{{ talk.abstract }}

{% endfor %} {% endif %} {% if profile.pending_talks.exists %}

{% trans 'Submitted or Under Consideration Talks:' %}

{% for talk in profile.pending_talks %}
{% comment %} Because this is one of the author's pending talks, we don't need to check for edit permission's on the talk explictly. This doesn't show the edit button for people with 'change-talk' permissions, but we accept that tradeoff for simplicity here. {% endcomment %} {% trans 'Edit' %}

{{ talk.title }}

{{ talk.abstract }}

{% endfor %} {% endif %} {% endif %} {% endwith %}
{% endblock content %} {% block extra_foot %} {% endblock extra_foot %}