Refs #30400 -- Improved typography in admin_doc/missing_docutils.html.

This commit is contained in:
Jon Dufresne 2020-05-22 16:54:07 -07:00 committed by Claude Paroz
parent 9624703a06
commit dfb9ae1d23
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
<h1>{% translate 'Documentation' %}</h1> <h1>{% translate 'Documentation' %}</h1>
<div id="content-main"> <div id="content-main">
<h3>{% blocktranslate with "https://docutils.sourceforge.io/" as link %}The admin documentation system requires Python's <a href="{{ link }}">docutils</a> library.{% endblocktranslate %}</h3> <h3>{% blocktranslate with "https://docutils.sourceforge.io/" as link %}The admin documentation system requires Pythons <a href="{{ link }}">docutils</a> library.{% endblocktranslate %}</h3>
<p>{% blocktranslate with "https://docutils.sourceforge.io/" as link %}Please ask your administrators to install <a href="{{ link }}">docutils</a>.{% endblocktranslate %}</p> <p>{% blocktranslate with "https://docutils.sourceforge.io/" as link %}Please ask your administrators to install <a href="{{ link }}">docutils</a>.{% endblocktranslate %}</p>
</div> </div>

View File

@ -113,7 +113,7 @@ class AdminDocViewTests(TestDataMixin, AdminDocsTestCase):
response = self.client.get(reverse('django-admindocs-docroot')) response = self.client.get(reverse('django-admindocs-docroot'))
self.assertContains( self.assertContains(
response, response,
'<h3>The admin documentation system requires Python\'s ' '<h3>The admin documentation system requires Pythons '
'<a href="https://docutils.sourceforge.io/">docutils</a> ' '<a href="https://docutils.sourceforge.io/">docutils</a> '
'library.</h3>' 'library.</h3>'
'<p>Please ask your administrators to install ' '<p>Please ask your administrators to install '