diff options
-rwxr-xr-x | website/templates/abstract-details.html | 8 | ||||
-rwxr-xr-x | website/templates/comment-abstract.html | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/website/templates/abstract-details.html b/website/templates/abstract-details.html index daacdbe..9b86593 100755 --- a/website/templates/abstract-details.html +++ b/website/templates/abstract-details.html @@ -48,10 +48,10 @@ <section id="content" class="main"> <h3>{{ proposal.user.first_name }} {{ proposal.user.last_name }}</h3> <p><b>Title: </b> {{ proposal.title }}</p> - <p><b>About Me: </b> {{ proposal.about_me }}</p> - <p><b>Abstract: </b> {{ proposal.abstract }}</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 }}</p> + <p><b>Prerequisite: </b> {{ proposal.prerequisite |linebreaks }}</p> {% endif%} <p><b>Date Created: </b> {{ proposal.date_created }}</p> {% if url %} @@ -64,7 +64,7 @@ <div> <strong>Comment By:</strong> {{ comment.user.first_name }} {{ comment.user.last_name }} - <p>{{ comment.comment|safe }}</p> + <p>{{ comment.comment| linebreaks }}</p> </div> <hr> {% endfor %} diff --git a/website/templates/comment-abstract.html b/website/templates/comment-abstract.html index c01aa1c..c492a84 100755 --- a/website/templates/comment-abstract.html +++ b/website/templates/comment-abstract.html @@ -48,7 +48,7 @@ <section id="content" class="main"> <h3>{{ proposal.user.first_name }} {{ proposal.user.last_name }}</h3> <p><b>Title: </b> {{ proposal.title }}</p> - <p><b>About Me: </b> {{ proposal.about_me }}</p> + <p><b>About Me: </b> {{ proposal.about_me |linebreaks }}</p> {% if proposal.proposal_type == "ABSTRACT"%} @@ -56,9 +56,9 @@ {% else %} <p><b>Description:</b> {% endif %} - {{ proposal.abstract }}</p> + {{ proposal.abstract | linebreaks }}</p> {% if proposal.prerequisite %} - <p><b>Prerequisite: </b> {{ proposal.prerequisite }}</p> + <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"%} @@ -106,7 +106,7 @@ <div> <strong>Comment By:</strong> {{ comment.user.first_name }} {{ comment.user.last_name }} - <p>{{ comment.comment|safe }}</p> + <p>{{ comment.comment| linebreaks }}</p> <!-- {% if user == comment.user %} <form action="" method='POST' enctype="multipart/form-data"> {% csrf_token %} |