Remove {% spaceless %} tag from a few more places
This tag is simply not worth the time it takes to do what it does. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
95ceb2a4a4
commit
b519c40e0a
@ -87,16 +87,14 @@ <h3>Mirror Syncing Error Log</h3>
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for log in error_logs %}
|
{% for log in error_logs %}<tr class="{% cycle 'odd' 'even' %}">
|
||||||
{% spaceless %}<tr class="{% cycle 'odd' 'even' %}">
|
|
||||||
<td>{{ log.url__url }}</td>
|
<td>{{ log.url__url }}</td>
|
||||||
<td>{{ log.url__protocol__protocol }}</td>
|
<td>{{ log.url__protocol__protocol }}</td>
|
||||||
<td class="country">{% country_flag log.country %}{{ log.country.name }}</td>
|
<td class="country">{% country_flag log.country %}{{ log.country.name }}</td>
|
||||||
<td class="wrap">{{ log.error|linebreaksbr }}</td>
|
<td class="wrap">{{ log.error|linebreaksbr }}</td>
|
||||||
<td>{{ log.last_occurred|date:'Y-m-d H:i' }}</td>
|
<td>{{ log.last_occurred|date:'Y-m-d H:i' }}</td>
|
||||||
<td>{{ log.error_count }}</td>
|
<td>{{ log.error_count }}</td>
|
||||||
</tr>
|
</tr>{% endfor %}
|
||||||
{% endspaceless %}{% endfor %}
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -14,8 +14,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for m_url in urls %}
|
{% for m_url in urls %}<tr class="{% cycle 'odd' 'even' %}">
|
||||||
{% spaceless %}<tr class="{% cycle 'odd' 'even' %}">
|
|
||||||
<td>{{ m_url.url }}</td>
|
<td>{{ m_url.url }}</td>
|
||||||
<td>{{ m_url.protocol }}</td>
|
<td>{{ m_url.protocol }}</td>
|
||||||
<td class="country">{% country_flag m_url.country %}{{ m_url.country.name }}</td>
|
<td class="country">{% country_flag m_url.country %}{{ m_url.country.name }}</td>
|
||||||
@ -24,7 +23,6 @@
|
|||||||
<td>{{ m_url.duration_avg|floatformat:2 }}</td>
|
<td>{{ m_url.duration_avg|floatformat:2 }}</td>
|
||||||
<td>{{ m_url.duration_stddev|floatformat:2 }}</td>
|
<td>{{ m_url.duration_stddev|floatformat:2 }}</td>
|
||||||
<td>{{ m_url.score|floatformat:1|default:'∞' }}</td>
|
<td>{{ m_url.score|floatformat:1|default:'∞' }}</td>
|
||||||
</tr>
|
</tr>{% endfor %}
|
||||||
{% endspaceless %}{% endfor %}
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -69,8 +69,7 @@ <h3>Package Search</h3>
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for pkg in package_list %}
|
{% for pkg in package_list %}<tr class="{% cycle 'odd' 'even' %}">
|
||||||
{% spaceless %}<tr class="{% cycle 'odd' 'even' %}">
|
|
||||||
{% if perms.main.change_package %}
|
{% if perms.main.change_package %}
|
||||||
<td><input type="checkbox" name="pkgid" value="{{ pkg.id }}" /></td>
|
<td><input type="checkbox" name="pkgid" value="{{ pkg.id }}" /></td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -85,8 +84,7 @@ <h3>Package Search</h3>
|
|||||||
<td class="wrap">{{ pkg.pkgdesc }}</td>
|
<td class="wrap">{{ pkg.pkgdesc }}</td>
|
||||||
<td>{{ pkg.last_update|date }}</td>
|
<td>{{ pkg.last_update|date }}</td>
|
||||||
<td>{{ pkg.flag_date|date }}</td>
|
<td>{{ pkg.flag_date|date }}</td>
|
||||||
</tr>
|
</tr>{% endfor %}
|
||||||
{% endspaceless %}{% endfor %}
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{% include "packages/search_paginator.html" %}
|
{% include "packages/search_paginator.html" %}
|
||||||
|
@ -50,9 +50,7 @@ <h3>Filter Displayed Signoffs</h3>
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="tbody_signoffs">
|
<tbody id="tbody_signoffs">
|
||||||
{% for group in signoff_groups %}
|
{% for group in signoff_groups %}<tr class="{% cycle 'odd' 'even' %} {{ group.arch.name }} {{ group.target_repo|lower }}">
|
||||||
<tr class="{% cycle 'odd' 'even' %} {{ group.arch.name }} {{ group.target_repo|lower }}">
|
|
||||||
{% spaceless %}
|
|
||||||
<td>{% pkg_details_link group.package %} {{ group.version }}</td>
|
<td>{% pkg_details_link group.package %} {{ group.version }}</td>
|
||||||
<td>{{ group.arch.name }}</td>
|
<td>{{ group.arch.name }}</td>
|
||||||
<td>{{ group.target_repo }}</td>
|
<td>{{ group.target_repo }}</td>
|
||||||
@ -75,9 +73,7 @@ <h3>Filter Displayed Signoffs</h3>
|
|||||||
{% endcomment %}{% if spec.known_bad %}Package is known to be bad<br/>{% endif %}{% comment %}
|
{% endcomment %}{% if spec.known_bad %}Package is known to be bad<br/>{% endif %}{% comment %}
|
||||||
{% endcomment %}{{ spec.comments|default:""|linebreaksbr }}
|
{% endcomment %}{{ spec.comments|default:""|linebreaksbr }}
|
||||||
{% endwith %}{% endif %}</td>
|
{% endwith %}{% endif %}</td>
|
||||||
{% endspaceless %}
|
</tr>{% endfor %}
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user