[Rt-commit] rt branch, 5.0/add-callback-after-queue-addresses, created. rt-5.0.0-225-gcdfd2ad2b7

Dianne Skoll dianne at bestpractical.com
Mon Jan 25 09:47:29 EST 2021


The branch, 5.0/add-callback-after-queue-addresses has been created
        at  cdfd2ad2b7d1b252407284c74bd966a6b318e982 (commit)

- Log -----------------------------------------------------------------
commit cdfd2ad2b7d1b252407284c74bd966a6b318e982
Author: Dianne Skoll <dianne at bestpractical.com>
Date:   Mon Jan 25 09:46:41 2021 -0500

    Add a callback after the "Comment Address:" form element
    
    This is the appropriate location to add input fields for the inbound
    comment/correspond aliases used in RT::Site::AliasesDB.

diff --git a/share/html/Admin/Queues/Modify.html b/share/html/Admin/Queues/Modify.html
index 31331c7709..2f17ccf875 100644
--- a/share/html/Admin/Queues/Modify.html
+++ b/share/html/Admin/Queues/Modify.html
@@ -130,6 +130,7 @@
       <input type="email" class="form-control" name="CommentAddress" value="<% $Create ? "" : $QueueObj->CommentAddress || $CommentAddress || '' %>" />
       <span><em><&|/l , RT->Config->Get('CommentAddress')&>(If left blank, will default to [_1])</&></em></span>
     </div>
+% $m->callback( CallbackName => 'AfterQueueAddresses', %ARGS, QueueObj => $QueueObj, results => \@results );
   </div>
 
   <div class="form-row">

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


More information about the rt-commit mailing list