1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00

Further improved on the work done in r16622 by making the help text icons look hoverable in the admin tabular inline headers.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Julien Phalip
2011-08-26 04:36:31 +00:00
parent 804a6db86e
commit 3e65f9633b
3 changed files with 6 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ class TestInline(TestCase):
"""
response = self.client.get('/test_admin/admin/admin_inlines/holder4/add/')
self.assertContains(response, '<p class="help">Awesome stacked help text is awesome.</p>', 4)
self.assertContains(response, '<img src="/static/admin/img/icon-unknown.gif" alt="(Awesome tabular help text is awesome.)" title="Awesome tabular help text is awesome." />', 1)
self.assertContains(response, '<img src="/static/admin/img/icon-unknown.gif" class="help help-tooltip" width="10" height="10" alt="(Awesome tabular help text is awesome.)" title="Awesome tabular help text is awesome." />', 1)
class TestInlineMedia(TestCase):
fixtures = ['admin-views-users.xml']