{% extends "site_base.html" %}
{% load i18n %}
{% load proposal_tags %}
{% load review_tags %}
{% load teams_tags %}
{% load registrasion_tags %}
{% load account_tags %}
{% block head_title %}Dashboard{% endblock %}
{% block body_class %}auth{% endblock %}
{% block body %}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<i class="fa fa-user-o"></i>
Account
<span class="pull-right">
<i class="fa fa-user"></i> {% user_display request.user %}
</span>
</h3>
</div>
<div class="panel-body">
<li>
<a href="{% url 'account_password' %}">{% trans "Change password" %}</a>
</li>
{% comment %}
{% include "registrasion/dashboard_widget.html" %}
{% endcomment %}
<div class="pull-right">
{% if not user.speaker_profile %}
<a href="{% url "speaker_create" %}" class="btn btn-xs btn-default">
<i class="fa fa-plus-sign"></i> Create a speaker profile
</a>
{% else %}
<a href="{% url "speaker_edit" %}" class="btn btn-xs btn-default">
<i class="fa fa-pencil"></i> Edit your speaker profile
<a href="/proposals/submit/talk" class="btn btn-xs btn-default">
<i class="fa fa-plus-sign"></i> Submit a new proposal
{% endif %}
<i class="fa fa-bullhorn"></i>
{% trans "Speaking" %}
<p>To submit a proposal, you must first <a href="{% url "speaker_create" %}">create a speaker profile</a>.</p>
<h4>Your Proposals</h4>
{% if not user.speaker_profile.proposals.exists %}
<p>No proposals submitted yet.</p>
{% if user.speaker_profile.proposals.exists %}
<table class="table">
<tr>
<th>Title</th>
<th>Session type</th>
<th>Status</th>
<th>Actions</th>
</tr>
{% for proposal in user.speaker_profile.proposals.all %}
{% include "symposion/proposals/_proposal_row.html" %}
{% endfor %}
</table>
{% if user.speaker_profile %}