diff options
author | Mike Crute <mcrute@gmail.com> | 2012-12-28 15:43:50 -0500 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2012-12-28 16:49:00 -0500 |
commit | dea70a8855cebe6d35eb8508ee150a79e87b8f45 (patch) | |
tree | 3b4d257afa155a341ba4df643718ab56dbe9a411 /templates/accounts/profile.html | |
parent | 58bb872b14658fac9ad719f46bb4b1f80c966fc1 (diff) | |
download | django-precompiler-dea70a8855cebe6d35eb8508ee150a79e87b8f45.tar.bz2 django-precompiler-dea70a8855cebe6d35eb8508ee150a79e87b8f45.tar.xz django-precompiler-dea70a8855cebe6d35eb8508ee150a79e87b8f45.zip |
Users can submit talk proposals
Diffstat (limited to 'templates/accounts/profile.html')
-rw-r--r-- | templates/accounts/profile.html | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/templates/accounts/profile.html b/templates/accounts/profile.html index aa6f3ad..fb9e8b1 100644 --- a/templates/accounts/profile.html +++ b/templates/accounts/profile.html | |||
@@ -1,9 +1,29 @@ | |||
1 | {% extends "base.html" %} | 1 | {% extends "base.html" %} |
2 | {% load icons %} | ||
2 | 3 | ||
3 | {% block content %} | 4 | {% block content %} |
4 | <h1>Your Account</h1> | 5 | <h1>Your Account</h1> |
5 | <p>Hello <b>{{ user.email }}</b></p> | 6 | <p>Hello <b>{{ user.email }}</b></p> |
6 | <ul> | 7 | |
7 | <li><a href="{% url 'auth:logout' %}">Logout</a></li> | 8 | <h1>Your Talk Proposals</h1> |
8 | </ul> | 9 | <p><a href="{% url 'proposals:create' %}">Submit a Proposal</a></p> |
10 | |||
11 | {% if proposals %} | ||
12 | <table> | ||
13 | <tr> | ||
14 | <th>Title</th> | ||
15 | <th>Type</th> | ||
16 | <th>Category</th> | ||
17 | <th>Approved</th> | ||
18 | </tr> | ||
19 | {% for proposal in proposals %} | ||
20 | <tr> | ||
21 | <td><a href="{% url 'proposals:update' proposal.id %}">{{ proposal.title }}</a></td> | ||
22 | <td>{{ proposal.type }}</td> | ||
23 | <td>{{ proposal.category }}</td> | ||
24 | <td>{{ proposal.approved|boolean_icon }}</td> | ||
25 | </tr> | ||
26 | {% endfor %} | ||
27 | </table> | ||
28 | {% endif %} | ||
9 | {% endblock %} | 29 | {% endblock %} |