Adds multiline support for reports in dashboard
Currently there is no way to specify linebreaks in app reports. This change adds django linebreaksbr filter to reports in dashboard which converts newlines into html <br /> Change-Id: I91f5906056173428109d8a4f9c7750a601b801e9 Closes-Bug: #1611019
This commit is contained in:
parent
ab1ebdefac
commit
c1b21fc188
|
@ -5,6 +5,6 @@
|
|||
</div>
|
||||
<div class="reports logs">
|
||||
{% for report in reports %}
|
||||
<div title="{{report.level|capfirst}}" class="report-{{report.level}}">{{report.created}} — {{report.text | urlize}}</div>
|
||||
<div title="{{report.level|capfirst}}" class="report-{{report.level}}">{{report.created}} — {{report.text | linebreaksbr | urlize}}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue