diff options
Diffstat (limited to 'templates/accounts')
-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 %} |