diff options
Diffstat (limited to 'static/website/templates/abstract-details.html')
-rwxr-xr-x | static/website/templates/abstract-details.html | 44 |
1 files changed, 44 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..07dcfc3 --- /dev/null +++ b/static/website/templates/abstract-details.html @@ -0,0 +1,44 @@ +{% 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>About Me: </b> {{ proposal.about_me | 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 %} + |