Add links to certain column text in a list view.
Misc bug fixes.
This commit is contained in:
@@ -139,7 +139,14 @@ require_once "resources/paging.php";
|
||||
if ($result_count > 0) {
|
||||
foreach($result as $row) {
|
||||
echo "<tr >\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_name]." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>";
|
||||
if (permission_exists('call_center_queue_edit')) {
|
||||
echo "<a href='call_center_queue_edit.php?id=".$row[call_center_queue_uuid]."'>".$row[queue_name]."</a>";
|
||||
}
|
||||
else {
|
||||
echo $row[queue_name];
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_extension]." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_strategy]." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_moh_sound]." </td>\n";
|
||||
@@ -147,13 +154,13 @@ require_once "resources/paging.php";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_time_base_score]." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_max_wait_time]." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_max_wait_time_with_no_agent]." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_tier_rules_apply]." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".ucwords($row[queue_tier_rules_apply])." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_tier_rule_wait_second]." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_tier_rule_no_agent_no_wait]." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_discard_abandoned_after]." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_abandoned_resume_allowed]." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_tier_rule_wait_multiply_level]." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row[queue_description]." </td>\n";
|
||||
echo " <td valign='top' class='row_stylebg'>".$row[queue_description]." </td>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
if (permission_exists('call_center_queue_edit')) {
|
||||
echo "<a href='call_center_queue_edit.php?id=".$row[call_center_queue_uuid]."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
|
||||
Reference in New Issue
Block a user