From a7e5de909afc3b0111f650faf12a39754e262ad8 Mon Sep 17 00:00:00 2001 From: Saurabh Kumar <theskumar@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:21:00 +0530 Subject: [PATCH] Link comments icon to submission -> communications tab (#3996) --- .../templates/funds/includes/submission-list-item.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hypha/apply/funds/templates/funds/includes/submission-list-item.html b/hypha/apply/funds/templates/funds/includes/submission-list-item.html index f7e5b4f5d..555cd8f51 100644 --- a/hypha/apply/funds/templates/funds/includes/submission-list-item.html +++ b/hypha/apply/funds/templates/funds/includes/submission-list-item.html @@ -156,10 +156,13 @@ {% comment %} Comment Count {% endcomment %} <span class="inline-block w-10"> {% if s.comment_count %} - <span class="flex items-center"> - {% heroicon_outline "chat-bubble-left" aria_hidden="true" size=16 class="stroke-2 me-1 inline-block" %} + <a class="flex items-center text-gray-900 group hover:text-light-blue transition-colors" + title="{% trans "View communications" %}" + href="{% url "funds:submissions:detail" s.id %}?ref=all-alt#communications" + > + {% heroicon_outline "chat-bubble-left" aria_hidden="true" size=16 class="stroke-2 me-1 inline-block group-hover:stroke-light-blue" %} <span class="inline-block font-medium">{{ s.comment_count }}</span> - </span> + </a> {% endif %} </span> </div> -- GitLab