diff options
author | komalsheth286 | 2016-11-29 21:10:25 +0530 |
---|---|---|
committer | komalsheth286 | 2016-11-29 21:10:25 +0530 |
commit | d73779c5a599b572f27be0c2bd574b1032b8d901 (patch) | |
tree | e63ea252a62af28354b33b5d6f42c5c1dae726a8 | |
parent | 56ed657600e7f1753825f1cde822caa89c5cdc41 (diff) | |
download | SciPy2016-d73779c5a599b572f27be0c2bd574b1032b8d901.tar.gz SciPy2016-d73779c5a599b572f27be0c2bd574b1032b8d901.tar.bz2 SciPy2016-d73779c5a599b572f27be0c2bd574b1032b8d901.zip |
Renderng text issue fixed
-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 %} |