Commit 0ec70bee7bdd39f5e704e418f3cbc3ae76a60cba

Authored by filipecmedeiros
1 parent f9f707e8

Show text changes to template [Issue #232]

courses/templates/course/course_card.html
@@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@
38 <p> 38 <p>
39 <b>{% trans 'Description' %}:</b> 39 <b>{% trans 'Description' %}:</b>
40 <i> 40 <i>
41 - {{course.content}} 41 + {{course.content | safe }}
42 </i> 42 </i>
43 </p> 43 </p>
44 </div> 44 </div>
courses/templates/course/view.html
@@ -97,7 +97,7 @@ @@ -97,7 +97,7 @@
97 <p> 97 <p>
98 <b>{% trans 'Description' %}:</b> 98 <b>{% trans 'Description' %}:</b>
99 <i> 99 <i>
100 - {{ course.objectivies }} 100 + {{ course.objectivies |safe }}
101 </i> 101 </i>
102 </p> 102 </p>
103 103
@@ -194,7 +194,7 @@ @@ -194,7 +194,7 @@
194 <p> 194 <p>
195 <b>{% trans "Description" %}: </b> 195 <b>{% trans "Description" %}: </b>
196 <i> 196 <i>
197 - {{subject.description}} 197 + {{subject.description | safe}}
198 </i> 198 </i>
199 </p> 199 </p>
200 <div class="row"> 200 <div class="row">
courses/templates/subject/index.html
@@ -75,7 +75,7 @@ @@ -75,7 +75,7 @@
75 {{professor}}{% if forloop.last %}.{% endif %}{% endfor %}</p> 75 {{professor}}{% if forloop.last %}.{% endif %}{% endfor %}</p>
76 <p> 76 <p>
77 <b>{% trans "Description" %}:</b> 77 <b>{% trans "Description" %}:</b>
78 - {{subject.description|linebreaks}} 78 + {{subject.description|safe}}
79 </p> 79 </p>
80 <div class="row"> 80 <div class="row">
81 <div class="col-xs-6 col-md-6"> 81 <div class="col-xs-6 col-md-6">
courses/templates/subject_category/index.html
@@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
58 </div> 58 </div>
59 <div class="panel-body"> 59 <div class="panel-body">
60 <p> 60 <p>
61 - {{subject.description|linebreaks}} 61 + {{subject.description| safe }}
62 </p> 62 </p>
63 </div> 63 </div>
64 </div> 64 </div>
courses/templates/topic/index.html
@@ -77,7 +77,7 @@ @@ -77,7 +77,7 @@
77 </div> 77 </div>
78 <div class="panel-body"> 78 <div class="panel-body">
79 <p> 79 <p>
80 - {{topic.description|linebreaks}} 80 + {{topic.description|safe}}
81 </p> 81 </p>
82 </div> 82 </div>
83 </div> 83 </div>