mirror of
https://github.com/django/django.git
synced 2025-03-12 02:12:38 +00:00
Refs #31617 -- Removed redundant title text in filter.html.
Unnecessary since 269a76714616fd7ad166a14113f3354bab8d9b65. Title text should provide advisory information and should not be the same or very similar to the element text.
This commit is contained in:
parent
feeb0685c6
commit
950d697b95
@ -3,6 +3,6 @@
|
||||
<ul>
|
||||
{% for choice in choices %}
|
||||
<li{% if choice.selected %} class="selected"{% endif %}>
|
||||
<a href="{{ choice.query_string|iriencode }}" title="{{ choice.display }}">{{ choice.display }}</a></li>
|
||||
<a href="{{ choice.query_string|iriencode }}">{{ choice.display }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
@ -753,11 +753,11 @@ class AdminViewBasicTest(AdminViewBasicTestCase):
|
||||
)
|
||||
self.assertContains(response, '<div id="changelist-filter">')
|
||||
self.assertContains(
|
||||
response, '<a href="?surface__exact=x" title="Horizontal">Horizontal</a>',
|
||||
response, '<a href="?surface__exact=x">Horizontal</a>',
|
||||
msg_prefix=fail_msg, html=True
|
||||
)
|
||||
self.assertContains(
|
||||
response, '<a href="?surface__exact=y" title="Vertical">Vertical</a>',
|
||||
response, '<a href="?surface__exact=y">Vertical</a>',
|
||||
msg_prefix=fail_msg, html=True
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user