From 94efd034dec5a7c05fd8a6af86c11125a329452e Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Fri, 2 Sep 2016 13:38:10 -0400 Subject: [PATCH] conditionally show add button for job templates --- awx/ui/client/src/lists/JobTemplates.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/src/lists/JobTemplates.js b/awx/ui/client/src/lists/JobTemplates.js index 398a490d65..ce75bf3dd6 100644 --- a/awx/ui/client/src/lists/JobTemplates.js +++ b/awx/ui/client/src/lists/JobTemplates.js @@ -55,7 +55,8 @@ export default basePaths: ['job_templates'], awToolTip: 'Create a new template', actionClass: 'btn List-buttonSubmit', - buttonContent: '+ ADD' + buttonContent: '+ ADD', + ngShow: 'canAdd' } },