diff options
Diffstat (limited to 'website')
-rw-r--r-- | website/templates/accepted_abstracts.html | 16 | ||||
-rw-r--r-- | website/templates/index.html | 4 | ||||
-rw-r--r-- | website/templates/page.html | 4 | ||||
-rw-r--r-- | website/views.py | 6 |
4 files changed, 21 insertions, 9 deletions
diff --git a/website/templates/accepted_abstracts.html b/website/templates/accepted_abstracts.html index 1c425d0..846b21b 100644 --- a/website/templates/accepted_abstracts.html +++ b/website/templates/accepted_abstracts.html @@ -1,12 +1,20 @@ {% extends 'page.html'%} {% block breadcrumbs %} -<li><a href="{% url 'website:schedule' %}">Schedule</a></li> <li><a href="{% url 'website:invited-speakers'%}">Invited Speakers</a></li> -<li class="current"><a href="#">Accepted Abstracts</a></li> +<li><a href="{% url 'website:list-abstracts'%}">Selected Abstracts</a></li> {% endblock %} + {% block content %} -<h3>Accepted Abstracts</h3> -<h4>Coming Soon . . .</h4> +<center><h4>Selected Abstracts</h4></center> +<table align="center"> +<th>Title +<th>Speaker +{% for paper in papers %} + <tr><td>{{ paper.title }}</td><td>{{ paper.user.first_name }} {{ paper.user.last_name }}</td></tr> +{% endfor %} +</table> +<p>* This is not the complete list, we have selected some talks as Pecha Kucha style talks & the list will be updated soon. </p> +<p># Schedule of the talks & other details to follow. {% endblock %} diff --git a/website/templates/index.html b/website/templates/index.html index 1427163..216689c 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -51,8 +51,8 @@ <ul class="dropdown"> <!-- <li><a href="{% url 'website:schedule' %}">Schedule</a></li> --> <li><a href="{% url 'website:invited-speakers' %}">Invited Speakers</a></li> - <li><a href="{% url 'website:list-abstracts' %}">List of Abstracts</a></li> - <!-- <li><a href="{% url 'website:accepted-abstracts' %}">Accepted Abstracts</a></li> --> + <!--li><a href="{% url 'website:list-abstracts' %}">List of Abstracts</a></li--> + <li><a href="{% url 'website:accepted-abstracts' %}">Accepted Abstracts</a></li> </ul> </li> <li class="divider"></li> diff --git a/website/templates/page.html b/website/templates/page.html index 08416a4..f0b6e88 100644 --- a/website/templates/page.html +++ b/website/templates/page.html @@ -51,8 +51,8 @@ <ul class="dropdown"> <!-- <li><a href="{% url 'website:schedule' %}">Schedule</a></li> --> <li><a href="{% url 'website:invited-speakers' %}">Invited Speakers</a></li> - <li><a href="{% url 'website:list-abstracts' %}">List of Abstracts</a></li> - <!-- <li><a href="{% url 'website:accepted-abstracts' %}">Accepted Abstracts</a></li> --> + <!--li><a href="{% url 'website:list-abstracts' %}">List of Abstracts</a></li--> + <li><a href="{% url 'website:accepted-abstracts' %}">Accepted Abstracts</a></li> </ul> </li> <li class="divider"></li> diff --git a/website/views.py b/website/views.py index 9f87843..ecafaaa 100644 --- a/website/views.py +++ b/website/views.py @@ -87,7 +87,11 @@ def abstract_details(request, paper_id=None): def accepted_abstracts_page(request): - return render_to_response('accepted_abstracts.html') + context = {} + accepted_papers = Paper.objects.filter(verified=True) + context['papers'] = accepted_papers + context.update(csrf(request)) + return render_to_response('accepted_abstracts.html', context) # Register def register_page(request): |