diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-29 18:35:40 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-29 18:35:40 +0200 |
commit | 5555ce02278defaef0ef1388c163701eea3aff7e (patch) | |
tree | 587d090955c6084e608589702bb8f185cd6ee395 /templates/mirrors/status.html | |
parent | 076f9c51d50be9bb567e8477eff4c15bde62fcb3 (diff) | |
download | archweb-5555ce02278defaef0ef1388c163701eea3aff7e.tar.gz archweb-5555ce02278defaef0ef1388c163701eea3aff7e.tar.xz |
Use spaceless tag in mirror status output
This removes a lot of needless whitespace in the generated output,
shrinking the uncompressed page size by 30KB to 54KB total on my current
set of mirror test data.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors/status.html')
-rw-r--r-- | templates/mirrors/status.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index 4f09be8..225572e 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -89,7 +89,7 @@ </thead> <tbody> {% for log in error_logs %} - <tr class="{% cycle 'odd' 'even' %}"> + {% spaceless %}<tr class="{% cycle 'odd' 'even' %}"> <td>{{ log.url__url }}</td> <td>{{ log.url__protocol__protocol }}</td> <td>{{ log.country }}</td> @@ -97,7 +97,7 @@ <td>{{ log.last_occurred|date:'Y-m-d H:i' }}</td> <td>{{ log.error_count }}</td> </tr> - {% endfor %} + {% endspaceless %}{% endfor %} </tbody> </table> |