diff --git a/app/calls/calls.php b/app/calls/calls.php index 670eb2b7a2..93d3cc094e 100644 --- a/app/calls/calls.php +++ b/app/calls/calls.php @@ -167,10 +167,8 @@ if (permission_exists('call_forward')) { echo "".$text['label-call-forward']."\n"; } if (permission_exists('follow_me')) { echo "".$text['label-follow-me']."\n"; } if (permission_exists('do_not_disturb')) { echo "".$text['label-dnd']."\n"; } - if (!$is_included) { - echo "".$text['table-description']."\n"; - } - echo " \n"; + echo "".$text['label-description']."\n"; + echo "  \n"; echo "\n"; if (is_array($extensions)) { @@ -180,7 +178,7 @@ echo "\n"; echo " ".escape($row['extension'])."\n"; if (permission_exists('call_forward')) { - echo "".(($row['forward_all_enabled'] == 'true') ? escape(format_phone($row['forward_all_destination'])) : ' ').""; + echo " ".(($row['forward_all_enabled'] == 'true') ? escape(format_phone($row['forward_all_destination'])) : ' ').""; } if (permission_exists('follow_me')) { if ($row['follow_me_uuid'] != '') { @@ -204,14 +202,13 @@ else { $follow_me_enabled = false; } - echo "".(($follow_me_enabled) ? $text['label-enabled']." (".$follow_me_destination_count.")" : ' ').""; + echo " ".(($follow_me_enabled) ? $text['label-enabled']." (".$follow_me_destination_count.")" : ' ').""; } if (permission_exists('do_not_disturb')) { - echo "".(($row['do_not_disturb'] == 'true') ? $text['label-enabled'] : ' ').""; - } - if (!$is_included) { - echo "".escape($row['description'])." \n"; + echo " ".(($row['do_not_disturb'] == 'true') ? $text['label-enabled'] : ' ').""; } + echo " ".escape($row['description'])." \n"; + echo " ".$v_link_label_edit."\n"; echo "\n"; $c = ($c) ? 0 : 1;