Rev 4205 | Rev 5224 | 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())#else<th>Customer Id</th>#end<th>Ticket Id</th><th>Category</th>#if($action.getUserId())<th></th>#end</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="160">$activity.getType().name()</td><td class="truncated-text" truncatedTextWidth="100"><pre>$activity.getDescription()</pre></td><td class="truncated-text" truncatedTextWidth="90">$action.convertDate($activity.getCreationTimestamp())</td><td class="truncated-text" truncatedTextWidth="90">$action.getAgent($activity.getCreatorId()).getEmailId()</td>#if($action.getUserId())#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 class="truncated-text" truncatedTextWidth="50">#if($activity.getTicketCategory()) $activity.getTicketCategory().name() #else N/A #end</td>#if($action.getUserId())<td><span ><input type="button" class="smallButton" value="Mark Read" activityId="$activity.getId()" id="mark-as-read"/></span></td>#end</tr>#end</tbody></table></div><div id="bottom-infopane"></div>#end