From 29971f33bc11b7fd923079c5ec61d04b789a5241 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Tue, 5 Jun 2018 09:54:34 +0100 Subject: [PATCH] Show 'Documents referred to' for xanadocs. --- sourcing/templates/view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcing/templates/view.html b/sourcing/templates/view.html index b8d3edb..221034e 100644 --- a/sourcing/templates/view.html +++ b/sourcing/templates/view.html @@ -121,7 +121,7 @@

There are no documents that refer to this {{ doc.type }}.

{% endif %} - {% if doc.type == 'xanalink' %} + {% if doc.type != 'sourcedoc' %}

Documents referred to

{% set object_count = doc.objects.count() %} {% if object_count %}