From af73671c3210019f3ca7b95fa0eed2eba44d9107 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 8 Feb 2021 11:51:48 -0700 Subject: [PATCH] Add import button if the feature is installed. --- app/call_centers/call_center_queues.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/call_centers/call_center_queues.php b/app/call_centers/call_center_queues.php index 86a8ed46c4..a6b356ebef 100644 --- a/app/call_centers/call_center_queues.php +++ b/app/call_centers/call_center_queues.php @@ -124,6 +124,9 @@ echo "
\n"; echo "
".$text['header-call_center_queues']." (".$num_rows.")
\n"; echo "
\n"; + if (permission_exists('call_center_imports')) { + echo button::create(['type'=>'button','label'=>$text['button-import'],'icon'=>$_SESSION['theme']['button_icon_import'],'link'=>PROJECT_PATH.'/app/call_center_imports/call_center_imports.php?type=call_center_queues']); + } if (permission_exists('call_center_agent_view')) { echo button::create(['type'=>'button','label'=>$text['button-agents'],'icon'=>'users','link'=>'call_center_agents.php']); } @@ -253,4 +256,4 @@ //show the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?>