Subversion Repositories SmartDukaan

Rev

Rev 3339 | Rev 3405 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3339 mandeep.dh 1
#set($messages = $action.getActionErrors())
2
#if($messages && $messages.size() != 0)
3
    #foreach($message in $messages)
4
        $message <br/>
5
    #end
6
#else
7
<div id="top-infopane">
8
    <table id="activity" class="display">
9
        <thead>
10
            <tr>
11
                <th>Activity Id</th>
12
                <th>Ticket Id</th>
13
                <th>Type</th>
14
                <th>Description</th>
15
                <th>Timestamp</th>
16
                <th>Assignee</th>
17
                <th>Mobile Number</th>
18
            </tr>
19
        </thead>
20
        <tbody>
21
            #foreach($activity in $action.getActivities())
22
            <tr id="activity-row-$activity.getId()">
23
                <td>
24
                    <a alt="Show Activity Details" title="Show Activity Details" href="#" userId="$action.getUserId()" activityId="$activity.getId()" class="show-activity-details">
25
                        $activity.getId()
26
                    </a>
27
                </td>
28
                <td>
29
                    #set( $ticketId = $activity.getTicketId())
30
                    #if ($activity.isSetTicketId())
31
                        <a alt="Show Ticket Details" title="Show Ticket Details" href="#" userId="$action.getUserId()" ticketId="$ticketId" activityId="$activity.getId()" class="show-ticket-details">
32
                            $ticketId
33
                        </a>
34
                    #else
35
                        N/A
36
                    #end
37
                </td>
38
                <td class="truncated-text">$activity.getType().name()</td>
3390 mandeep.dh 39
                <td class="truncated-text"><pre >$activity.getDescription()</pre></td>
3339 mandeep.dh 40
                <td class="truncated-text">$action.convertDate($activity.getCreationTimestamp())</td>
41
                <td class="truncated-text">$action.getAgent($activity.getCreatorId()).getEmailId()</td>
42
                #if($activity.getCustomerMobileNumber())
43
                <td >$activity.getCustomerMobileNumber()</td>
44
                #else
45
                <td >N/A</td>
46
                #end
47
            </tr>
48
            #end
49
        </tbody>
50
    </table>
51
</div>
52
<div id="bottom-infopane">
53
</div>
54
#end
55
<script>
56
$(document).ready(truncateText(80));
57
</script>