added linebreaks filter for all notes display

This commit is contained in:
artus40
2017-10-26 16:47:17 +02:00
parent b4878b47c3
commit 8092859cb4
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@
<a class="btn btn-link btn-xs show-stats-btn" href="#" value="{{observation.sujet.pk}}"> <a class="btn btn-link btn-xs show-stats-btn" href="#" value="{{observation.sujet.pk}}">
{% bootstrap_icon "stats" %} Mise à jour</a> {% bootstrap_icon "stats" %} Mise à jour</a>
</td></tr> </td></tr>
<tr><td>{{observation.text}}</td></tr>{% endfor %}{% endfor %} <tr><td>{{observation.text | linebreaks }}</td></tr>{% endfor %}{% endfor %}
</table> </table>
</div> </div>
<div id="update-stats"> <div id="update-stats">

View File

@@ -12,5 +12,5 @@
</th> </th>
</tr> </tr>
<tr> <tr>
<td style="background-color:#fff"><p>{{text}}</p></td> <td style="background-color:#fff"><p>{{text | linebreaks }}</p></td>
</tr> </tr>