Rev 9181 | 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#set($activity = $action.getActivity())#set($ticket = $action.getTicket())<div id="activityTopLeft">#if(!$activity.isSetCustomerId())<label class="bold">Customer Name: </label>#if($activity.getCustomerName())<span>$activity.getCustomerName()</span>#elseN/A#end<br/><label class="bold">Customer Mobile No: </label>#if($activity.getCustomerMobileNumber())<span>$activity.getCustomerMobileNumber()</span>#elseN/A#end#end<br/><label class="bold">Type: </label><span>$activity.getType().name()</span><br/><div class="activity-description-bg"><label class="bold">Description: </label><pre>$activity.getDescription()</pre></div><br/>#set($attachments = $action.getAttachments())<label class="bold">Attachments: </label>#foreach($attachment in $attachments)<br/><a alt="Download Attachment" title="Download Attachment" href="/crm/activity-info!downloadAttachment?attachment=encodeURIComponent($attachment)" attachment="encodeURIComponent($attachment)" target="_blank">$attachment</a>#end<br/><label class="bold">Timestamp: </label><span>$action.convertDate($activity.getCreationTimestamp())</span><br/><label class="bold">Creator: </label><span>$action.getAgent($activity.getCreatorId()).getEmailId()</span><br/><br />#if(!$activity.isIsRead())<span ><input type="button" value="Mark as read" activityId="$activity.getId()" id="mark-as-read"/></span><br />#end<br />#if($ticket)<label class="bold">Ticket Id: </label><span>$ticket.getId()</span><br/><div class="activity-description-bg"><label class="bold">Ticket Description: </label><pre>$ticket.getDescription()</pre></div><br/><label class="bold">Date Opened: </label><span>$action.convertDate($ticket.getOpenDate())</span><br/><label class="bold">Date Closed: </label><span>$action.convertDate($ticket.getCloseDate())</span><br/><label class="bold">Ticket Assignee: </label><span>#if ($ticket.isSetAssigneeId())$action.getAgent($ticket.getAssigneeId()).getEmailId()#elseN/A#end</span><br/>#end</div>#end