From bf456cf8008f376811393aaf9babc373454ffdf9 Mon Sep 17 00:00:00 2001 From: sks444 <krishnasingh.ss30@gmail.com> Date: Thu, 29 Oct 2020 11:42:29 +0530 Subject: [PATCH] Restrict Screen Application button in actions to take --- .../funds/templates/funds/includes/admin_primary_actions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypha/apply/funds/templates/funds/includes/admin_primary_actions.html b/hypha/apply/funds/templates/funds/includes/admin_primary_actions.html index 900d4bef0..f9ff389a5 100644 --- a/hypha/apply/funds/templates/funds/includes/admin_primary_actions.html +++ b/hypha/apply/funds/templates/funds/includes/admin_primary_actions.html @@ -12,7 +12,7 @@ {% endif %} {% endif %} -{% if not object.screening_statuses.exists %} +{% if object.has_default_screening_status_set and not object.can_not_edit_default %} <a data-fancybox data-src="#screen-application" class="button button--bottom-space button--primary button--full-width is-not-disabled" href="#">Screen application</a> {% endif %} -- GitLab