diff options
Diffstat (limited to 'website/templates')
-rw-r--r-- | website/templates/abstract_details.html | 30 | ||||
-rw-r--r-- | website/templates/invited_speakers.html | 8 | ||||
-rw-r--r-- | website/templates/list_abstracts.html | 1 |
3 files changed, 36 insertions, 3 deletions
diff --git a/website/templates/abstract_details.html b/website/templates/abstract_details.html index 3abf02e..07f5f75 100644 --- a/website/templates/abstract_details.html +++ b/website/templates/abstract_details.html @@ -6,17 +6,43 @@ <li><a href="{% url 'website:list-abstracts'%}">List of Abstracts</a></li> {% endblock %} +{% block userblock %} +{% if current_user != "anonymous" %} +<li><a href="#"> {{ current_user }}</a></li> +<li><a href="/2013/accounts/logout">Logout</a></li> +{% endif %} +{% endblock %} + + {% block content %} -<center><h4>{{ paper.title }}</h4></center> +<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 }}</p> </div> <p>Affiliation: <strong>{{ paper.affiliation }}</strong></p> <p>Links: {{ paper.links }}</p> -<p><a href="/downloads/{{ paper.attachments }}">Attachment</a></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="/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 %} diff --git a/website/templates/invited_speakers.html b/website/templates/invited_speakers.html index d9b56bf..fc5f773 100644 --- a/website/templates/invited_speakers.html +++ b/website/templates/invited_speakers.html @@ -1,5 +1,11 @@ {% 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 content %} <div class="row"> <h4>Invited Speakers</h4> @@ -29,4 +35,4 @@ </div> <!-- /speaker --> </div> <!-- /row --> -{% endblock %}
\ No newline at end of file +{% endblock %} diff --git a/website/templates/list_abstracts.html b/website/templates/list_abstracts.html index 4389d2d..ebf6d54 100644 --- a/website/templates/list_abstracts.html +++ b/website/templates/list_abstracts.html @@ -15,4 +15,5 @@ <tr><td><a href="{% url 'website:abstract-details' paper.id %}">{{ paper.title }}</a></td><td>{{ paper.user.first_name }} {{ paper.user.last_name }}</td></tr> {% endfor %} </table> +Note: These are not selected abstracts. Our committee is reviewing the abstracts & list of same will be published soon. {% endblock %} |