Subversion Repositories SmartDukaan

Rev

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

Rev 4205 Rev 4241
Line 17... Line 17...
17
                #else
17
                #else
18
                <th>Customer Id</th>
18
                <th>Customer Id</th>
19
                #end
19
                #end
20
                <th>Ticket Id</th>
20
                <th>Ticket Id</th>
21
                <th>Category</th>
21
                <th>Category</th>
-
 
22
				#if($action.getUserId())
-
 
23
				<th></th>
-
 
24
				#end
22
            </tr>
25
            </tr>
23
        </thead>
26
        </thead>
24
        <tbody>
27
        <tbody>
25
            #foreach($activity in $action.getActivities())
28
            #foreach($activity in $action.getActivities())
26
            <tr id="activity-row-$activity.getId()">
29
            <tr id="activity-row-$activity.getId()">
27
                <td>
30
                <td>
28
                    <a alt="Show Activity Details" title="Show Activity Details" href="#" userId="$action.getUserId()" activityId="$activity.getId()" class="show-activity-details">
31
                    <a alt="Show Activity Details" title="Show Activity Details" href="#" userId="$action.getUserId()" activityId="$activity.getId()" class="show-activity-details">
29
                        $activity.getId()
32
                        $activity.getId()
30
                    </a>
33
                    </a>
31
                </td>
34
                </td>
32
                <td class="truncated-text">$activity.getType().name()</td>
35
                <td class="truncated-text" truncatedTextWidth="160">$activity.getType().name()</td>
33
                <td class="truncated-text"><pre>$activity.getDescription()</pre></td>
36
                <td class="truncated-text" truncatedTextWidth="100"><pre>$activity.getDescription()</pre></td>
34
                <td class="truncated-text">$action.convertDate($activity.getCreationTimestamp())</td>
37
                <td class="truncated-text" truncatedTextWidth="90">$action.convertDate($activity.getCreationTimestamp())</td>
35
                <td class="truncated-text">$action.getAgent($activity.getCreatorId()).getEmailId()</td>
38
                <td class="truncated-text" truncatedTextWidth="90">$action.getAgent($activity.getCreatorId()).getEmailId()</td>
36
                #if($action.getUserId())
39
                #if($action.getUserId())
37
                #else
40
                #else
38
                <td >
41
                <td >
39
                #if($activity.isSetCustomerId())
42
                #if($activity.isSetCustomerId())
40
                    #set($customerEmailId = $action.getUser($activity.getCustomerId()).getEmail())
43
                    #set($customerEmailId = $action.getUser($activity.getCustomerId()).getEmail())
41
                    <a alt="Show Customer Details" title="Show Customer Details" href="/crm?email=$customerEmailId">
44
                    <a alt="Show Customer Details" title="Show Customer Details" href="/crm?email=$customerEmailId">
42
                        <span class="truncated-text">
45
                        <span class="truncated-text" truncatedTextWidth="50">
43
                            $customerEmailId
46
                            $customerEmailId
44
                        </span>
47
                        </span>
45
                    </a>
48
                    </a>
46
                #else
49
                #else
47
                    #if($activity.getCustomerEmailId())
50
                    #if($activity.getCustomerEmailId())
Line 60... Line 63...
60
                        </a>
63
                        </a>
61
                    #else
64
                    #else
62
                        N/A
65
                        N/A
63
                    #end
66
                    #end
64
                </td>
67
                </td>
65
                <td class="truncated-text">#if($activity.getTicketCategory()) $activity.getTicketCategory().name() #else N/A #end</td>
68
                <td class="truncated-text" truncatedTextWidth="50">#if($activity.getTicketCategory()) $activity.getTicketCategory().name() #else N/A #end</td>
-
 
69
				#if($action.getUserId())
-
 
70
					<td>
-
 
71
					<span ><input type="button" class="smallButton" value="Mark Read" activityId="$activity.getId()" id="mark-as-read"/></span>
-
 
72
					</td>
-
 
73
                #end
66
            </tr>
74
            </tr>
67
            #end
75
            #end
68
        </tbody>
76
        </tbody>
69
    </table>
77
    </table>
70
</div>
78
</div>