summaryrefslogtreecommitdiff
path: root/website/templates/abstract_details.html
blob: 705139cbb4d53b762923c8e39a6f6157495c9a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{% extends 'page.html'%}
{% load static %}

{% block breadcrumbs %}
<li><a href="{% url 'website:invited-speakers'%}">Invited Speakers</a></li>
<li><a href="{% url 'website:list-abstracts'%}">List of Abstracts</a></li>
{% endblock %}

{% block userblock %}
<li><a href="#"> {{ current_user }}</a></li>
<li><a href="/2013/accounts/logout">Logout</a></li>
{% endblock %}


{% block content %}
<center><h4><u>{{ paper.title }}</u></h4></center>

<p><strong>{{ paper.user.first_name }} {{ paper.user.last_name }}</strong></p>
<p><strong>{{ paper.bio }}</strong></p>
<hr>
<p><strong>Abstract: </strong></p>
<div id="abstract">
<p>{{ paper.abstract|safe }}</p>
</div>
<p>Affiliation: <strong>{{ paper.affiliation }}</strong></p>
<p>Links: {{ paper.links }}</p>
{% if attachment%}
<p><a class="button tiny success" href="/downloads/{{ paper.attachments }}">View Attachment</a></p>
{% endif %}

<hr>
{% if reviewer %}
    <h5>Comments</h5>
    {% for comment in comments %}
    <div class="comment">
        <strong>{{ comment.comment_by.first_name }} {{ comment.comment_by.last_name }}</strong>
        <p>{{ comment.comment|safe }}</p>
    </div>
    {% endfor %}
    <form action="/2013/abstract-details/{{ paper.id }}/" method='POST' enctype="multipart/form-data">
    {% csrf_token %}
        <textarea rows="5" cols="100" name="comment"></textarea>
        <input class="button tiny success" type=submit value="Comment">
    </form>
{% endif %}
{% endblock %}