diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/proposals/proposal_form.html | 2 | ||||
-rw-r--r-- | templates/proposals/proposal_list.html | 25 |
2 files changed, 26 insertions, 1 deletions
diff --git a/templates/proposals/proposal_form.html b/templates/proposals/proposal_form.html index 79f33bf..40e11b4 100644 --- a/templates/proposals/proposal_form.html +++ b/templates/proposals/proposal_form.html | |||
@@ -1,6 +1,6 @@ | |||
1 | {% extends "base.html" %} | 1 | {% extends "base.html" %} |
2 | 2 | ||
3 | {% block title %}CodeMash Sponsors{% endblock %} | 3 | {% block title %}CodeMash Talks{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | <h1>{% if edit_view %}Edit{% else %}Submit{% endif %} Proposal</h1> | 6 | <h1>{% if edit_view %}Edit{% else %}Submit{% endif %} Proposal</h1> |
diff --git a/templates/proposals/proposal_list.html b/templates/proposals/proposal_list.html new file mode 100644 index 0000000..4dcac39 --- /dev/null +++ b/templates/proposals/proposal_list.html | |||
@@ -0,0 +1,25 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}CodeMash Sessions{% endblock %} | ||
4 | |||
5 | {% block content %} | ||
6 | <h1>Sessions</h1> | ||
7 | <ul> | ||
8 | {% for proposal in object_list %} | ||
9 | <li> | ||
10 | <h2>{{ proposal.title }}</h2> | ||
11 | <p>{{ proposal.time_slot }}</p> | ||
12 | <p><b>Location:</b> {{ proposal.location }}</p> | ||
13 | <p><b>{{ proposal.category }}</b> {{ proposal.audience_skill_level }}</p> | ||
14 | <p><b>Presenters</b></p> | ||
15 | <ul> | ||
16 | {% for presenter in proposal.proposers.all %} | ||
17 | <li>{{ presenter.first_name }} {{ presenter.last_name }}</li> | ||
18 | {% endfor %} | ||
19 | </ul> | ||
20 | <p>{{ proposal.abstract }}</p> | ||
21 | <p>{{ proposal.outline }}</p> | ||
22 | </li> | ||
23 | {% endfor %} | ||
24 | </ul> | ||
25 | {% endblock %} | ||