Subversion Repositories SmartDukaan

Rev

Rev 3390 | Rev 3422 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3390 Rev 3405
Line 7... Line 7...
7
<div id="top-infopane">
7
<div id="top-infopane">
8
    <table id="tickets" class="display">
8
    <table id="tickets" class="display">
9
        <thead>
9
        <thead>
10
            <tr>
10
            <tr>
11
                <th>Ticket Id</th>
11
                <th>Ticket Id</th>
-
 
12
                #if(!$action.getUserId())
12
                <th>Customer Id</th>
13
                 <th>Customer Id</th>
-
 
14
                #end
13
                <th>Category</th>
15
                <th>Category</th>
14
                <th>Date Opened</th>
16
                <th>Date Opened</th>
15
                <th>Date Closed</th>
17
                <th>Date Closed</th>
16
                <th>Assignee</th>
18
                <th>Assignee</th>
17
                <th>Status</th>
19
                <th>Status</th>
Line 27... Line 29...
27
                <td>
29
                <td>
28
                    <a alt="Show Ticket Details" title="Show Ticket Details" href="#" userEmailId="$ticket.getCustomerEmailId()" userId="$action.getUserId()" ticketId="$ticketId" class="show-ticket-details">
30
                    <a alt="Show Ticket Details" title="Show Ticket Details" href="#" userEmailId="$ticket.getCustomerEmailId()" userId="$action.getUserId()" ticketId="$ticketId" class="show-ticket-details">
29
                        $ticketId
31
                        $ticketId
30
                    </a>
32
                    </a>
31
                </td>
33
                </td>
-
 
34
 
-
 
35
                #if(!$action.getUserId())
32
                <td>
36
                <td>
33
                #if($ticket.isSetCustomerId())
37
                    #if($ticket.isSetCustomerId())
34
                #set( $user = $action.getUser($ticket.getCustomerId()) )
38
                    #set( $user = $action.getUser($ticket.getCustomerId()) )
35
                    <a alt="Show Customer Details" title="Show Customer Details" href="/crm?email=$user.getEmail()">
39
                    <a alt="Show Customer Details" title="Show Customer Details" href="/crm?email=$user.getEmail()">
36
                        <span class="truncated-text">
40
                        <span class="truncated-text">
37
                            $user.getEmail()
41
                            $user.getEmail()
38
                        </span>
42
                        </span>
39
                    </a>
43
                    </a>
40
                #else
44
                    #else
41
                    <span class="truncated-text">
45
                    <span class="truncated-text">
42
                        $ticket.getCustomerEmailId()
46
                        $ticket.getCustomerEmailId()
43
                    </span>
47
                    </span>
44
                #end
48
                    #end
45
                </td>
49
                </td>
-
 
50
                #end
46
                <td class="truncated-text">$ticket.getCategory().name()</td>
51
                <td class="truncated-text">$ticket.getCategory().name()</td>
47
                <td title="$openDate"  class="truncated-text">$openDate</td>
52
                <td title="$openDate"  class="truncated-text">$openDate</td>
48
                <td title="$closeDate" class="truncated-text">$closeDate</td>
53
                <td title="$closeDate" class="truncated-text">$closeDate</td>
49
                <td class="truncated-text">
54
                <td class="truncated-text">
50
                    #if($ticket.isSetAssigneeId() && $ticket.getAssigneeId() != 0)
55
                    #if($ticket.isSetAssigneeId() && $ticket.getAssigneeId() != 0)