summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-03-07 09:35:59 -0800
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-03-09 12:34:32 +0100
commiteb77e80de01e658541d4fcc3b0b38783ce4e6a7e (patch)
tree6869c01ea81c831ea04e2daa9cfd93b54de9754f /tests/admin_views
parentec292f261d2390f692d5534ca85a427216bc4e39 (diff)
Fixed #31349 -- Used :nth-child() CSS pseudo-class to style alternative rows in admin.
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/templates/admin/admin_views/article/change_list_results.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_views/templates/admin/admin_views/article/change_list_results.html b/tests/admin_views/templates/admin/admin_views/article/change_list_results.html
index ca36f3abcf..775641233f 100644
--- a/tests/admin_views/templates/admin/admin_views/article/change_list_results.html
+++ b/tests/admin_views/templates/admin/admin_views/article/change_list_results.html
@@ -30,7 +30,7 @@
{% if result.form.non_field_errors %}
<tr><td colspan="{{ result|length }}">{{ result.form.non_field_errors }}</td></tr>
{% endif %}
-<tr class="{% cycle 'row1' 'row2' %}">{% for item in result %}{{ item }}{% endfor %}</tr>
+<tr>{% for item in result %}{{ item }}{% endfor %}</tr>
{% endfor %}
</tbody>
</table>