<!--
****************************************************************************  
*  Description: Layout for tickets content                                 *
*  Created: 05/22/2006                                                     *
****************************************************************************
-->
<script type="text/javascript" src="javascript/modules/support.js?version={VERSION}"></script>

<table class="ts2" cellspacing="0">
  <tr>
    <td class="label">[l]Subject[/l]:</td>
    <td colspan="3">{TICKET_SUBJECT_LINK}</td>
  </tr>
  <tr>
    <td width="80" class="label">[l]Ticket ID[/l]:</td>
    <td width="35%">{TICKET_ID}</td>
    <td width="80" class="label">[l]Priority[/l]:</td>
    <td width="35%">{TICKET_PRIORITY_LINK}</td>
  </tr>
  <tr>
    <td class="label">[l]Status[/l]:</td>
    <td>{TICKET_STATUS_LINK} &nbsp;&nbsp;
    <!-- BEGIN DYNAMIC BLOCK: ticket_reopen -->
    [ {TICKET_REOPEN} ]
    <!-- END DYNAMIC BLOCK: ticket_reopen -->
    </td>
    <td class="label">[l]Ticket Type[/l]:</td>
    <td>{TICKET_TYPE_LINK}</td>
  </tr>
  <tr>
    <td class="label">[l]Opened By[/l]:</td>
    <td>{TICKET_OWNERLINK}</td>
    <td class="label">[l]Assigned To[/l]:</td>
    <td>{TICKET_ASSIGNEE_LINK}</td>
  </tr>
  <tr>
    <td class="label">[l]Package[/l]:</td>
    <td>{TICKET_DOMAIN_LINK}</td>
    <td class="label">[l]Plan Name[/l]:</td>
    <td>{TICKET_PACKAGENAME}</td>
  </tr>
  
<!-- BEGIN DYNAMIC BLOCK: ticketRate -->
  <tr>
    <td class="label">[l]Customer Rating[/l]:</td>
    <td colspan="3">{TICKET_RATE}</td>
  </tr>
<!-- END DYNAMIC BLOCK: ticketRate -->
<!-- BEGIN DYNAMIC BLOCK: ticket_attachment -->
  <tr>
    <td class="label">[l]Attachment[/l]:</td>
    <td colspan="3">{ATTACHMENT_URL}
    <!-- BEGIN DYNAMIC BLOCK: ticket_attachment_remove -->
    &nbsp;&nbsp;[&nbsp{ATTACHMENT_REMOVEURL}&nbsp;]&nbsp;
    <!-- END DYNAMIC BLOCK: ticket_attachment_remove -->
    - {ATTACHMENT_ADDEDBY}
    </td>
  </tr>
<!-- END DYNAMIC BLOCK: ticket_attachment -->
</table>

<ul class="tabs">
    <!-- BEGIN DYNAMIC BLOCK: tickettab -->
    <li class="{TICKETTAB_CLASS}" id="{TICKETTAB_ID}_tab" name="tickettab">
        <a href="#" onclick="cSelectTab('{TICKETTAB_FUSE}','{TICKETTABVIEW}','{TICKETTAB_ID}','tickettab','activetickettab','selectedId={TICKETID}&amp;from=ViewTicketDetails&amp;customerId={TICKET_OWNER_ID}{EXTRA_ARGS}');return false;">{TICKETTAB_NAME}</a>
    </li>
    <!-- END DYNAMIC BLOCK: tickettab -->
    <div class="bottom clear"></div>
</ul>

<ul>
    <li>
        <div id="activetickettab"></div>
        <script type="text/javascript">
            cSelectTab('support','TicketTab_Messages','tickettab_messages','tickettab','activetickettab','selectedId={TICKETID}{EXTRA_ARGS}');
        </script>
    </li>
</ul>
