{% extends "wafer/base.html" %} {% load i18n %} {% block content %} {% with profile=object.userprofile %}
{% with profile.avatar_url as avatar_url %} {% if avatar_url != None %} {% endif %} {% endwith %} {% if user == object or user.is_staff %} {% trans 'Edit Mugshot' %}
{% blocktrans %} Pictures provided by libravatar (which falls back to Gravatar).
Change your picture there. {% endblocktrans %}
{% endif %}
{% if user == object or user.is_staff %} {% endif %} {% spaceless %}

{% if profile.homepage %} {% endif %} {{ object.get_full_name|default:object.username }} {% if profile.homepage %} {% endif %}

{% if profile.twitter_handle %}

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

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

{% endif %} {% endspaceless %}
{% if profile.bio %}
{{ profile.bio }}
{% endif %} {% if user == object or user.is_staff %} {% if profile.pending_talks.exists or profile.accepted_talks.exists %} {% if object.ticket.exists %}
{% blocktrans %} Ticket purchased {% endblocktrans %}
{% else %}
{% blocktrans %} WARNING: Talk proposal submitted, but no ticket purchased. Register now! {% endblocktrans %}
{% endif %} {% 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.rendered|safe }}

{% endfor %} {% endif %} {# Submitted talk proposals are only visible to the owner #} {% if user == object or user.is_staff %} {% if profile.pending_talks.exists %}

{% trans 'Submitted Talks (under consideration):' %}

{% for talk in profile.pending_talks %}
{{ talk.title }}

{{ talk.abstract.rendered|safe }}

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