1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

support for section without link

This commit is contained in:
“Paulo 2024-03-11 18:12:07 -03:00
parent d74c599da6
commit fc169b9df5

View File

@ -8,7 +8,7 @@
{% if app.app_url %}
<a href="{{ app.app_url }}" class="section" title="{% blocktranslate with name=app.name %}Models in the {{ name }} application{% endblocktranslate %}">{{ app.name }}</a>
{% else %}
{{ app.name }}
<span class="section">{{ app.name }}</span>
{% endif %}
</caption>
{% for model in app.models %}