summaryrefslogtreecommitdiff
path: root/static/website/templates/view-abstracts.html
diff options
context:
space:
mode:
authorhardythe12014-11-21 18:16:09 +0530
committerhardythe12014-11-21 18:16:09 +0530
commitce8e996bb9cc8edc659bf5edd8370f09f8f62a6f (patch)
tree8f058aff72929e16f26f08988e41167749089b5f /static/website/templates/view-abstracts.html
parente7747649fdd63564a9fc57ed202bc098a21aba24 (diff)
downloadscipy2014-ce8e996bb9cc8edc659bf5edd8370f09f8f62a6f.tar.gz
scipy2014-ce8e996bb9cc8edc659bf5edd8370f09f8f62a6f.tar.bz2
scipy2014-ce8e996bb9cc8edc659bf5edd8370f09f8f62a6f.zip
added commenting interface
Diffstat (limited to 'static/website/templates/view-abstracts.html')
-rw-r--r--static/website/templates/view-abstracts.html56
1 files changed, 17 insertions, 39 deletions
diff --git a/static/website/templates/view-abstracts.html b/static/website/templates/view-abstracts.html
index a988f0a..fa475fe 100644
--- a/static/website/templates/view-abstracts.html
+++ b/static/website/templates/view-abstracts.html
@@ -3,50 +3,28 @@
{% load widget_tweaks %}
{% block current %}
-View Abstracts
+View Proposals
{% endblock %}
{% block content %}
+ <table class="table table-bordered">
+ <th width=50> Sr #
+ <th>Title
+ <th>Speaker
{% for proposal in proposals %}
- <p><b>Title: </b>&nbsp;{{ proposal.title }}</p>
- <p><b>Speaker: </b>&nbsp;{{ proposal.user.first_name }} {{ proposal.user.last_name }}</p>
- <p><b>Bio: </b>&nbsp;{{ proposal.bio }}</p>
- <p><b>Objective: </b>&nbsp;{{ proposal.objective }}</p>
- <div class="modal fade" id="abstract" tabindex="-1" role="dialog" aria-labelledby="abstractLabel" aria-hidden="true">
- <div class="modal-dialog">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
- <h4 class="modal-title" id="abstractLabel">Abstract</h4>
- </div>
- <div class="modal-body">
- {{ proposal.abstract }}
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
- </div>
- </div>
- </div>
- </div>
- <table>
- <tr>
- <td width=100>
- <button type="button" class="btn btn-mini" data-toggle="modal" data-target="#abstract">
- Abstract
- </button>
- </td>
- <td>
- <a href="{{ proposal.attachment.url }}" class="btn btn-info" target="_blank">Attachment</a>
- </td>
- </tr>
- </table>
- <br>
- {% if proposal.link %}
- <p><b>Additional Links: </b>&nbsp;<a href="http://{{ proposal.link }}" target="_blank">{{ proposal.link }}</a></p>
- {% endif %}
-
- <hr>
+ <tr>
+ <td>
+ {{ forloop.counter }}
+ </td>
+ <td>
+ <a href="{% url 'website:abstract_details' proposal.id %}">{{ proposal.title }}</a>
+ </td>
+ <td>
+ {{ proposal.user.first_name }} {{ proposal.user.last_name }}
+ </td>
+ </tr>
{% endfor %}
+ </table>
{% endblock %}