summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram Pai2013-12-10 14:54:46 +0530
committerJayaram Pai2013-12-10 14:54:46 +0530
commit0ebdec736d7051d71d207a62b5861d47bf3a4107 (patch)
treef2ddefec45e7f6d0ac67649ced6cc83b8abbea9f
parenta4e2ff2e1533c3152b1d523a44f3f1b1ea585e2d (diff)
downloadSciPy2013-0ebdec736d7051d71d207a62b5861d47bf3a4107.tar.gz
SciPy2013-0ebdec736d7051d71d207a62b5861d47bf3a4107.tar.bz2
SciPy2013-0ebdec736d7051d71d207a62b5861d47bf3a4107.zip
added talk_type field for papers
-rw-r--r--website/models.py1
-rw-r--r--website/templates/accepted_abstracts.html28
2 files changed, 21 insertions, 8 deletions
diff --git a/website/models.py b/website/models.py
index 9784776..9310220 100644
--- a/website/models.py
+++ b/website/models.py
@@ -17,6 +17,7 @@ class Paper(models.Model):
links = models.CharField(max_length=128)
attachments = models.FileField(upload_to=get_document_dir)
verified = models.NullBooleanField()
+ talk_type = models.NullBooleanField()
class Comment(models.Model):
paper = models.ForeignKey(Paper)
diff --git a/website/templates/accepted_abstracts.html b/website/templates/accepted_abstracts.html
index 9f81a1c..a56cc57 100644
--- a/website/templates/accepted_abstracts.html
+++ b/website/templates/accepted_abstracts.html
@@ -5,16 +5,28 @@
<li><a href="{% url 'website:accepted-abstracts'%}">Selected Abstracts</a></li>
{% endblock %}
-
{% block content %}
<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 %}
+ <th>Title</th>
+ <th>Speaker</th>
+ <th>Type</th>
+
+ {% for paper in papers %}
+ <tr>
+ <td>{{ paper.title }}</td>
+ <td>{{ paper.user.first_name }} {{ paper.user.last_name }}</td>
+ <td>
+ {% if paper.talk_type %}
+ Pecha Kucha
+ {% else %}
+ Talk
+ {% endif %}
+ </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.
+<p>* <a href="http://en.wikipedia.org/wiki/PechaKucha" target="_blank">What is Pecha Kucha ?.</a>
+<p>* This is the final list of selected abstracts.</p>
+<p># Schedule of the talks & other details to follow.<p>
{% endblock %}