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