[Rt-commit] rt branch, 4.4/modify-people-squelch-all-checkbox, created. rt-4.4.1-98-gfc7fd6b

Dustin Graves dustin at bestpractical.com
Mon Aug 22 18:32:58 EDT 2016


The branch, 4.4/modify-people-squelch-all-checkbox has been created
        at  fc7fd6b4eefaccd4550d9869da149ea3ee1d5e90 (commit)

- Log -----------------------------------------------------------------
commit fc7fd6b4eefaccd4550d9869da149ea3ee1d5e90
Author: Dustin Graves <dustin at bestpractical.com>
Date:   Tue Aug 9 23:11:24 2016 +0000

    add 'All recipients' checkbox to ModifyPeople.html similar to the one on Update.html
    
    this checkbox will check/uncheck all of the individual recipient checkboxes
    
    Fixes: T#168226

diff --git a/share/html/Ticket/ModifyPeople.html b/share/html/Ticket/ModifyPeople.html
index bb02e6e..08bee71 100644
--- a/share/html/Ticket/ModifyPeople.html
+++ b/share/html/Ticket/ModifyPeople.html
@@ -63,6 +63,12 @@
 <&|/l&>The checked users may receive email related to this ticket depending on the action taken. Uncheck users to stop sending email to them about this ticket.</&>
 </p>
 
+<%PERL>
+my $all_recipients_checked = (grep { !$_ } values %recips) ? 0 : 1;
+</%PERL>
+<input type="checkbox" class="checkbox" id="TxnSendMailToAll" onclick="setCheckbox(this, 'checked_recipient')" <% $all_recipients_checked ? 'checked' : '' %>>
+<label for="TxnSendMailToAll"><b><% loc('All recipients') %></b></label><br />
+
 <ul>
 % for my $addr (sort keys %recips) {
   <li>

-----------------------------------------------------------------------


More information about the rt-commit mailing list