Rev 5203 | Rev 16093 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#set($messages = $action.getActionErrors())#if($messages && $messages.size() != 0)#foreach($message in $messages)$message <br/>#end#else<div id="top-infopane"><table id="activity" class="display"><thead><tr><th>Activity Id</th><th>Type</th><th>Description</th><th>Timestamp</th><th>Creator</th>#if($action.getUserId())<th> </th>#else<th>Customer Id</th>#end<th>Ticket Id</th><th>Ticket Status</th><th>Category</th><th>Contact Number</th></tr></thead><tbody>#foreach($activity in $action.getActivities())<tr id="activity-row-$activity.getId()"><td><a alt="Show Activity Details" title="Show Activity Details" href="#" userId="$action.getUserId()" activityId="$activity.getId()" class="show-activity-details">$activity.getId()</a></td><td class="truncated-text" truncatedTextWidth="130">$activity.getType().name()</td><td class="truncated-text" truncatedTextWidth="85"><pre>$activity.getDescription()</pre></td><td class="truncated-text" truncatedTextWidth="85">$action.convertDate($activity.getCreationTimestamp())</td><td class="truncated-text" truncatedTextWidth="90">$action.getAgent($activity.getCreatorId()).getEmailId()</td>#if($action.getUserId())<td> </td>#else<td >#if($activity.isSetCustomerId())#set($customerEmailId = $action.getUser($activity.getCustomerId()).getEmail())<a alt="Show Customer Details" title="Show Customer Details" href="/crm?email=$customerEmailId"><span class="truncated-text" truncatedTextWidth="50">$customerEmailId</span></a>#else#if($activity.getCustomerEmailId())$activity.getCustomerEmailId()#elseN/A#end#end</td>#end<td>#set($ticketId = $activity.getTicketId())#if ($activity.isSetTicketId())<a alt="Show Ticket Details" title="Show Ticket Details" href="#" userId="$action.getUserId()" ticketId="$ticketId" activityId="$activity.getId()" class="show-ticket-details">$ticketId</a>#elseN/A#end</td><td >#if ($activity.isSetTicketStatus())$activity.getTicketStatus()#elseN/A#end</td><td class="truncated-text" truncatedTextWidth="50">#if($activity.getTicketCategory()) $activity.getTicketCategory().name() #else N/A #end</td><td >#if ($activity.isSetCustomerMobileNumber())$activity.getCustomerMobileNumber()#elseN/A#end</td></tr>#end</tbody></table></div><div id="bottom-infopane"></div>#end