summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Frisina <sourcetree@specialorange.org>2023-10-19 16:02:34 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-10-21 09:01:57 +0200
commit26dddf3752000c2c679394c6f5084a9510b7d596 (patch)
treef00c5e013fc2ded6c5e3e435ee08bcb84e5fcfd8
parentbba963df50f73f14f7e48f285f9bc920e48093cb (diff)
[5.0.x] Fixed #34912 -- Fixed size of back links and bookmarklet help in admindocs pages.
Backport of be8b25def45bda2e9d1b63e67a80362832bcf45d from main
-rw-r--r--django/contrib/admindocs/templates/admin_doc/bookmarklets.html2
-rw-r--r--django/contrib/admindocs/templates/admin_doc/model_detail.html2
-rw-r--r--django/contrib/admindocs/templates/admin_doc/template_detail.html2
-rw-r--r--django/contrib/admindocs/templates/admin_doc/view_detail.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/django/contrib/admindocs/templates/admin_doc/bookmarklets.html b/django/contrib/admindocs/templates/admin_doc/bookmarklets.html
index adff7ed920..04b329e6e3 100644
--- a/django/contrib/admindocs/templates/admin_doc/bookmarklets.html
+++ b/django/contrib/admindocs/templates/admin_doc/bookmarklets.html
@@ -12,7 +12,7 @@
{% block content %}
-<p class="help">{% blocktranslate trimmed %}
+<p class="quiet">{% blocktranslate trimmed %}
To install bookmarklets, drag the link to your bookmarks toolbar, or right-click
the link and add it to your bookmarks. Now you can select the bookmarklet
from any page in the site.
diff --git a/django/contrib/admindocs/templates/admin_doc/model_detail.html b/django/contrib/admindocs/templates/admin_doc/model_detail.html
index 8bde21e3ef..ebeeafc8e8 100644
--- a/django/contrib/admindocs/templates/admin_doc/model_detail.html
+++ b/django/contrib/admindocs/templates/admin_doc/model_detail.html
@@ -73,6 +73,6 @@
</div>
{% endif %}
-<p class="small"><a href="{% url 'django-admindocs-models-index' %}">&lsaquo; {% translate 'Back to Model documentation' %}</a></p>
+<p><a href="{% url 'django-admindocs-models-index' %}">&lsaquo; {% translate 'Back to Model documentation' %}</a></p>
</div>
{% endblock %}
diff --git a/django/contrib/admindocs/templates/admin_doc/template_detail.html b/django/contrib/admindocs/templates/admin_doc/template_detail.html
index 3e2de222a8..3dadaa631a 100644
--- a/django/contrib/admindocs/templates/admin_doc/template_detail.html
+++ b/django/contrib/admindocs/templates/admin_doc/template_detail.html
@@ -23,5 +23,5 @@
{% endfor %}
</ol>
-<p class="small"><a href="{% url 'django-admindocs-docroot' %}">&lsaquo; {% translate 'Back to Documentation' %}</a></p>
+<p><a href="{% url 'django-admindocs-docroot' %}">&lsaquo; {% translate 'Back to Documentation' %}</a></p>
{% endblock %}
diff --git a/django/contrib/admindocs/templates/admin_doc/view_detail.html b/django/contrib/admindocs/templates/admin_doc/view_detail.html
index 945f7fb690..d1aa3ab98f 100644
--- a/django/contrib/admindocs/templates/admin_doc/view_detail.html
+++ b/django/contrib/admindocs/templates/admin_doc/view_detail.html
@@ -29,5 +29,5 @@
<p>{{ meta.Templates }}</p>
{% endif %}
-<p class="small"><a href="{% url 'django-admindocs-views-index' %}">&lsaquo; {% translate 'Back to View documentation' %}</a></p>
+<p><a href="{% url 'django-admindocs-views-index' %}">&lsaquo; {% translate 'Back to View documentation' %}</a></p>
{% endblock %}