diff options
Diffstat (limited to 'static/website/templates/abstract-details.html')
-rwxr-xr-x | static/website/templates/abstract-details.html | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/static/website/templates/abstract-details.html b/static/website/templates/abstract-details.html new file mode 100755 index 0000000..6183e09 --- /dev/null +++ b/static/website/templates/abstract-details.html @@ -0,0 +1,48 @@ +{% extends "base.html" %} +{% load static %} + {% block content %} + <section id="abstract_details" class="section abstract_details"> + <div class="container"> + <p> + <center> + <h2>Abstract Details</h2> + </center> + </p> + <h3><span class="label label-primary">{{ proposal.user.first_name }} {{ proposal.user.last_name }}</span></h3> + <hr> + <p><b>Title: </b> {{ proposal.title }}</p> + <p><b>Name of the author:</b> {{proposal.name_of_author1}} + {% if proposal.name_of_author2 %}, {{proposal.name_of_author2}} + {% endif %} + </p> + <p><b>About the authors: </b> {{ proposal.about_the_authors | linebreaks }}</p> + <p><b>Abstract: </b> {{ proposal.abstract |linebreaks }}</p> + {% if proposal.prerequisite %} + <p><b>Prerequisite: </b> {{ proposal.prerequisite |linebreaks }}</p> + {% endif%} + <p><b>Duration: </b> {{ proposal.duration }} {% if proposal.proposal_type == "ABSTRACT"%} Mins {% else %}Hours {%endif%}</p> + {% if proposal.proposal_type == "ABSTRACT"%} + <p><b>Tags: </b> {{ proposal.tags }}</p> + {% else %} + <p><b>Level: </b> {{ proposal.tags }}</p> + {% endif %} + <p><b>Date Created: </b> {{ proposal.date_created }}</p> + {% if url %} + <p><b>Attachment: </b> + <a href="{{ url }}" class="btn btn-info" target="_blank">{{filename}}</a> + </p> + {% endif %} + <p><b>Comments: </b> + <hr> + {% for comment in comments %} + <div> + <strong>Comment By:</strong> + {{ comment.user.first_name }} {{ comment.user.last_name }} + <p>{{ comment.comment| linebreaks }}</p> + </div> + <hr> + {% endfor %} + </div> + </section> + {% endblock %} + |