1 %# $Header: /home/cvs/cvsroot/freeside/rt/webrt/Ticket/Elements/Attic/EditWatchers,v 1.1 2002-08-12 06:17:09 ivan Exp $
2 %# Copyright 1996-2000 Jesse Vincent <jesse@fsck.com>
6 %# Print out a placeholder if there are none.
7 %if ($watchers->Count == 0 ) {
12 %while (my $watcher=$watchers->Next) {
14 <INPUT TYPE=CHECKBOX NAME="DelWatcher<%$watcher->id%>" UNCHECKED>
15 %#If there's a principal backing this user, lets give a link to their
17 %if ($watcher->IsUser) {
18 <a href="<%$RT::WebPath%>/Admin/Users/Modify.html?id=<%$watcher->OwnerObj->id%>">
19 <%$watcher->OwnerObj->RealName%></a>:
23 <i><%$watcher->Email%></i>
27 my ($watchers, $watcher, $set);
28 if ($Type =~ /^request/i) {
29 $watchers = $TicketObj->Requestors;
31 elsif ($Type =~ /^admin/i) {
32 $watchers = $TicketObj->AdminCc;
34 elsif ($Type =~ /^cc/i) {
35 $watchers = $TicketObj->Cc;
37 else { $watchers = $TicketObj->Watchers;