fix url labels

This commit is contained in:
Tomáš Mládek 2020-07-30 23:47:41 +02:00
parent 9d8d422d69
commit fa066f89e4

View file

@ -49,7 +49,7 @@
<div class="doc-link-intro">Also see:</div>
{% for link in document.urls.all|slice:"1:" %}
<div class="doc-link doc-link-plus">
<a href="{{ link.description|default:link.url }}">{{ link.url }}</a>
<a href="{{ link.url }}">{{ link.description|default:link.url }}</a>
</div>
{% endfor %}
{% endif %}
@ -68,7 +68,7 @@
<div class="doc-link-intro">Also at:</div>
{% for link in document.urls.all|slice:"1:" %}
<div class="doc-link doc-link-plus">
<a href="{{ link.description|default:link.url }}">{{ link.url }}</a>
<a href="{{ link.url }}">{{ link.description|default:link.url }}</a>
</div>
{% endfor %}
{% endif %}