diff options
author | Dan McGee <dan@archlinux.org> | 2012-05-14 03:14:16 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-05-14 03:14:16 +0200 |
commit | 3b0b9012353d5ffda564998cab58f986770361be (patch) | |
tree | 6248a324db7f8ae0c99c0661bed5dc1e00d3aa09 /templates/mirrors | |
parent | a570c2c7fa404c2eb1760c6fb428047083c0c957 (diff) | |
download | archweb-3b0b9012353d5ffda564998cab58f986770361be.tar.gz archweb-3b0b9012353d5ffda564998cab58f986770361be.tar.xz |
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')
-rw-r--r-- | templates/mirrors/status.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index 8ee1d46..34896c0 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> |