From c1b21fc1882120eb852b467eccad50c2317d0cae Mon Sep 17 00:00:00 2001 From: Sergey Filatov Date: Sun, 28 Aug 2016 11:05:40 +0300 Subject: [PATCH] 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
Change-Id: I91f5906056173428109d8a4f9c7750a601b801e9 Closes-Bug: #1611019 --- muranodashboard/templates/deployments/_logs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muranodashboard/templates/deployments/_logs.html b/muranodashboard/templates/deployments/_logs.html index f3f627628..3e1ad6fa8 100644 --- a/muranodashboard/templates/deployments/_logs.html +++ b/muranodashboard/templates/deployments/_logs.html @@ -5,6 +5,6 @@
{% for report in reports %} -
{{report.created}} — {{report.text | urlize}}
+
{{report.created}} — {{report.text | linebreaksbr | urlize}}
{% endfor %}