--- TicketViewLite.dtl.org	2004-02-08 22:16:49.000000000 +0100
+++ TicketViewLite.dtl	2004-02-11 00:44:55.000000000 +0100
@@ -36,7 +36,10 @@
 </tr>
 </table>
 
-<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="3">
+<dtl if ($Config{"ShowCustomerInfoQueueLite"} eq "1") { $Data{"Cols"} = "3"; }>
+<dtl if ($Config{"ShowCustomerInfoQueueLite"} eq "0") { $Data{"Cols"} = "2"; }>
+<dtl if ($Data{"CustomerTableLite"} eq "") { $Data{"Cols"} = "2"; }>
+<table border="0" width="100%" cellspacing="0" cellpadding="3" cols="$Data{"Cols"}">
 <tr>
   <td valign="top" width="60%" class="table1">
   <table border="0" width="100%" cellspacing="0" cellpadding="1">
@@ -84,10 +87,6 @@
       <td><b>$Text{"Queue"}:</b></td>
       <td><font color="red"><div title="$Quote{"$Data{"Queue"}"}">$Quote{"$Data{"Queue"}","14"}</div></font></td>
     </tr>
-    </table>
-  </td>
-  <td width="20%" align="left" valign="top" class="PriorityID-$Data{"PriorityID"}">
-    <table border="0">
     <tr valign="top">
       <td><b>$Text{"CustomerID"}:</b></td>
       <td><a href="$Config{"CustomerDBLink"}" $Config{"CustomerDBLinkTarget"}>$Quote{"$Data{"CustomerID"}","14"}</a></td>
@@ -116,9 +115,11 @@
     $Data{"TicketFreeString7"}
     $Data{"TicketFreeString8"}
 # --
-   </tr>
    </table>
   </td>
+<dtl if ($Config{"ShowCustomerInfoQueueLite"} eq "1") { $Data{"CustomerInfo"} = "<td width="20%" align="left" valign="top" class="PriorityID-$Data{"PriorityID"}">$Data{"CustomerTableLite"}</td>"; }>
+<dtl if ($Data{"CustomerTableLite"} eq "") { $Data{"CustomerInfo"} = ""; }>
+    $Data{"CustomerInfo"}
 </tr>
 # use the following if you want also a change queue option in this view
 #<tr>
