Subversion Repositories SmartDukaan

Rev

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

Rev 3168 Rev 3228
Line 14... Line 14...
14
                <th>Date Opened</th>
14
                <th>Date Opened</th>
15
                <th>Date Closed</th>
15
                <th>Date Closed</th>
16
                <th>Assignee</th>
16
                <th>Assignee</th>
17
                <th>Status</th>
17
                <th>Status</th>
18
                <th>Priority</th>
18
                <th>Priority</th>
19
                <th>Mobile Number</th>
-
 
20
            </tr>
19
            </tr>
21
        </thead>
20
        </thead>
22
        <tbody>
21
        <tbody>
23
            #foreach($ticket in $action.getTickets())
22
            #foreach($ticket in $action.getTickets())
24
            #set( $ticketId = $ticket.getId() )
23
            #set( $ticketId = $ticket.getId() )
Line 29... Line 28...
29
                <td>
28
                <td>
30
                    <a alt="Show Ticket Details" title="Show Ticket Details" href="#" userId="$action.getUserId()" ticketId="$ticketId" class="show-ticket-details">
29
                    <a alt="Show Ticket Details" title="Show Ticket Details" href="#" userId="$action.getUserId()" ticketId="$ticketId" class="show-ticket-details">
31
                        $ticketId
30
                        $ticketId
32
                    </a>
31
                    </a>
33
                </td>
32
                </td>
-
 
33
                <td>
-
 
34
                    <a alt="Show Customer Details" title="Show Customer Details" href="/crm?email=$user.getEmail()">
34
                <td class="truncated-text">$user.getEmail()</td>
35
                        $user.getEmail()
-
 
36
                    </a>
-
 
37
                </td>
35
                <td class="truncated-text">$ticket.getCategory().name()</td>
38
                <td >$ticket.getCategory().name()</td>
36
                <td title="$openDate" class="truncated-text">$openDate</td>
39
                <td title="$openDate" class="truncated-text">$openDate</td>
37
                <td class="truncated-text" title="$closeDate">$closeDate</td>
40
                <td class="truncated-text" title="$closeDate">$closeDate</td>
38
                <td class="truncated-text">
41
                <td class="truncated-text">
39
                    #if($ticket.isSetAssigneeId() && $ticket.getAssigneeId() != 0)
42
                    #if($ticket.isSetAssigneeId() && $ticket.getAssigneeId() != 0)
40
                        $action.getAgent($ticket.getAssigneeId()).getEmailId()
43
                        $action.getAgent($ticket.getAssigneeId()).getEmailId()
41
                    #else
44
                    #else
42
                        N/A
45
                        N/A
43
                    #end
46
                    #end
44
                </td>
47
                </td>
45
                <td class="truncated-text">$ticket.getStatus().name()</td>
48
                <td >$ticket.getStatus().name()</td>
46
                <td class="truncated-text">$ticket.getPriority().name()</td>
49
                <td >$ticket.getPriority().name()</td>
47
                <td class="truncated-text">$user.getMobileNumber()</td>
-
 
48
            </tr>
50
            </tr>
49
            #end
51
            #end
50
        </tbody>
52
        </tbody>
51
    </table>
53
    </table>
52
</div>
54
</div>
53
<div id="bottom-infopane">
55
<div id="bottom-infopane">
54
</div>
56
</div>
55
#end
57
#end
56
<script>
58
<script>
57
$(document).ready(function() {
59
$(document).ready(function() {
58
    $(".truncated-text").truncate({width: 75, addtitle: true});
60
    $(".truncated-text").truncate({width: 50, addtitle: true});
59
});
61
});
60
</script>
62
</script>
61
63