From a3a62b39fd0c1eb15bf0768ca876ccd2a69662a6 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Thu, 20 Jun 2019 11:00:43 -0400 Subject: [PATCH] Add check for user perms to show add TO button --- templates/portfolios/task_orders/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/portfolios/task_orders/index.html b/templates/portfolios/task_orders/index.html index c737a9e8..f4d62f27 100644 --- a/templates/portfolios/task_orders/index.html +++ b/templates/portfolios/task_orders/index.html @@ -96,7 +96,9 @@ {% call StickyCTA(text="Funding") %} - Start a new task order + {% if user_can(permissions.CREATE_TASK_ORDER) %} + Start a new task order + {% endif %} {% endcall %} {% include "fragments/flash.html" %}