PonyConf/proposals/templates/proposals/user_details.html

24 lines
530 B
HTML
Raw Normal View History

2016-06-07 20:59:13 +00:00
{% extends 'base.html' %}
2016-06-25 15:38:01 +00:00
{% load accounts_tags %}
{% 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>
<h2>Biography</h2>
<p>{{ profile.biography }}</p>
<h2>Talks</h2>
<a href="{% url 'list-talks-by-speaker' profile.user.username %}">See the list of talks with this speaker</a>
2016-06-07 20:59:13 +00:00
2016-06-25 15:38:01 +00:00
{% if request|edit_profile:profile %}
<h2>Notes</h2>
<p>{{ profile.notes }}</p>
2016-06-27 23:04:45 +00:00
<a href="{% url 'edit-participant' profile.user.username %}" class="btn btn-success">Edit</a>
2016-06-25 15:38:01 +00:00
{% endif %}
2016-06-07 20:59:13 +00:00
{% endblock %}