Skip to content

Commit 8896bd3

Browse files
committed
Add link to 'Stable' doc version in the Warning Alert on top
1 parent 17d5687 commit 8896bd3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/templates/docs/doc.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@
4747
</div>
4848
{% elif not release.is_supported %}
4949
<div id="outdated-warning" class="doc-floating-warning">
50-
{% trans "This document is for an insecure version of Django that is no longer supported. Please upgrade to a newer release!" %}
50+
{% trans "This document is for an insecure version of Django that is no longer supported. Please click "%}
51+
<a href="{% url 'document-detail' lang='en' version='stable' url='intro/install' host 'docs' %}">
52+
{% trans "here" %}
53+
</a>
54+
{% trans "for the latest version."%}
5155
</div>
5256
{% endif %}
5357
{% endblock body_extra %}

0 commit comments

Comments
 (0)