From 225ef4295e3efc3328faa1f75e1885e047985117 Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Thu, 6 Sep 2018 11:53:54 +0100
Subject: [PATCH] Dont show the related objects in the main listing for
 performance reasons

---
 .../apply/activity/templates/activity/include/listing_base.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opentech/apply/activity/templates/activity/include/listing_base.html b/opentech/apply/activity/templates/activity/include/listing_base.html
index b744902f7..106343a02 100644
--- a/opentech/apply/activity/templates/activity/include/listing_base.html
+++ b/opentech/apply/activity/templates/activity/include/listing_base.html
@@ -23,7 +23,7 @@
 
             - {{ activity.message }}
 
-            {% if activity.related_object %}
+            {% if not submission_title and activity.related_object %}
             <a href="{{ activity.related_object.get_absolute_url }}" class="feed__related-item">
                 <svg><use xlink:href="#arrow-head-pixels--solid"></use></svg>
             </a>
-- 
GitLab