[Rt-commit] rt branch, 3.8-trunk, updated. 1f000b825fb697427b2542b8d18ac751e7fa69bb
jesse
jesse at bestpractical.com
Wed Jul 8 16:59:55 EDT 2009
The branch, 3.8-trunk has been updated
via 1f000b825fb697427b2542b8d18ac751e7fa69bb (commit)
from 02fa9eca927d19f084412a5cc5305a2f35baea39 (commit)
Summary of changes:
share/html/Ticket/Elements/AddWatchers | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 1f000b825fb697427b2542b8d18ac751e7fa69bb
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Wed Jul 8 16:59:33 2009 -0400
Added a list of other folks who've been CCed on this ticket to the 'addwatchers' page
diff --git a/share/html/Ticket/Elements/AddWatchers b/share/html/Ticket/Elements/AddWatchers
index a2fd1e7..d2b222d 100755
--- a/share/html/Ticket/Elements/AddWatchers
+++ b/share/html/Ticket/Elements/AddWatchers
@@ -78,6 +78,16 @@
</td><td>
<&|/l&>Email</&>
</td></tr>
+% my $counter = 4;
+% for my $email (@extras) {
+% $counter++;
+<tr><td>
+<&/Elements/SelectWatcherType, Name => "WatcherTypeEmail".$counter &>
+</td><td>
+<input type="hidden" name="WatcherAddressEmail<%$counter%>" value="<%$email->address%>">
+<%$email->format%>
+</td></tr>
+% }
<tr><td>
<&/Elements/SelectWatcherType, Name => "WatcherTypeEmail1" &>
</td><td>
@@ -110,6 +120,12 @@ if ($GroupString) {
$Groups->Limit(FIELD => $GroupField, VALUE => $GroupString, OPERATOR => $GroupOp);
}
+my @extras;
+for my $addr ( values %{$Ticket->TransactionAddresses} ) {
+ push @extras, $addr unless ($Ticket->IsWatcher( Email => $addr->address));
+}
+
+
</%INIT>
<%ARGS>
@@ -120,4 +136,5 @@ $GroupField => 'Name'
$GroupOp => '='
$GroupString => undef
$PrivilegedOnly => undef
+$Ticket => undef
</%ARGS>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list