From 43949c653df5519113887076c5a6938204ff2dc7 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 20 Sep 2012 09:34:48 +0000 Subject: [PATCH] Use the label for the call flow status on the list and edit page. --- app/call_flows/call_flow_edit.php | 32 +++++++++++++++++++++++++------ app/call_flows/call_flows.php | 4 ++-- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/app/call_flows/call_flow_edit.php b/app/call_flows/call_flow_edit.php index 12ac4f0c91..268d3a06b4 100644 --- a/app/call_flows/call_flow_edit.php +++ b/app/call_flows/call_flow_edit.php @@ -480,17 +480,37 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo " \n"; echo "
\n"; diff --git a/app/call_flows/call_flows.php b/app/call_flows/call_flows.php index 481fb1b403..e234033404 100644 --- a/app/call_flows/call_flows.php +++ b/app/call_flows/call_flows.php @@ -123,10 +123,10 @@ require_once "includes/paging.php"; echo "\n"; echo " "; if ($row['call_flow_status'] != "false") { - echo "On"; + echo $row['call_flow_label']; } else { - echo "Off"; + echo $row['call_flow_anti_label']; } echo " \n"; echo " \n";