Show 'Documents referred to' for xanadocs.

This commit is contained in:
Edward Betts 2018-06-05 09:54:34 +01:00
parent 45f244a2d5
commit 29971f33bc

View file

@ -121,7 +121,7 @@
<p>There are no documents that refer to this {{ doc.type }}.</p>
{% endif %}
{% if doc.type == 'xanalink' %}
{% if doc.type != 'sourcedoc' %}
<h4>Documents referred to</h4>
{% set object_count = doc.objects.count() %}
{% if object_count %}