PonyConf/proposals/templates/proposals/user_details.html

26 lines
603 B
HTML
Raw Normal View History

2016-06-07 20:59:13 +00:00
{% extends 'base.html' %}
2016-07-23 15:20:57 +00:00
{% load accounts_tags i18n avatar_tags %}
2016-06-25 15:38:01 +00:00
{% block speakertab %} 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-07-23 15:20:57 +00:00
<img class="pull-right" src="{% avatar_url request.user 160 %}" />
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-07-23 10:03:12 +00:00
<h2>{% trans "Talks" %}</h2>
{% 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-07-23 10:03:12 +00:00
<h2>{% trans "Notes" %}</h2>
2016-06-25 15:38:01 +00:00
<p>{{ profile.notes }}</p>
2016-07-23 10:03:12 +00:00
<a href="{% url 'edit-participant' profile.user.username %}" class="btn btn-success">{% trans "Edit" %}</a>
2016-06-25 15:38:01 +00:00
{% endif %}
2016-06-07 20:59:13 +00:00
{% endblock %}