summaryrefslogtreecommitdiff
path: root/templates/mirrors/status.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-05-13 20:14:16 -0500
committerDan McGee <dan@archlinux.org>2012-05-13 20:14:16 -0500
commit3b0b9012353d5ffda564998cab58f986770361be (patch)
tree6248a324db7f8ae0c99c0661bed5dc1e00d3aa09 /templates/mirrors/status.html
parenta570c2c7fa404c2eb1760c6fb428047083c0c957 (diff)
Use linebreaksbr filter on log error message text
If we get a multi-line message in, we should show line breaks at the appropriate places. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors/status.html')
-rw-r--r--templates/mirrors/status.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html
index 8ee1d46e..34896c07 100644
--- a/templates/mirrors/status.html
+++ b/templates/mirrors/status.html
@@ -89,7 +89,7 @@
<td>{{ log.url__url }}</td>
<td>{{ log.url__protocol__protocol }}</td>
<td class="country">{% if log.country %}<img src="{{ log.country.flag }}" alt=""/> {% endif %}{{ log.country.name }}</td>
- <td class="wrap">{{ log.error }}</td>
+ <td class="wrap">{{ log.error|linebreaksbr }}</td>
<td>{{ log.last_occurred|date:'Y-m-d H:i' }}</td>
<td>{{ log.error_count }}</td>
</tr>