Mailing List Archive

rt branch, 5.0/add-callback-after-queue-addresses, created. rt-5.0.0-225-gcdfd2ad2b7
The branch, 5.0/add-callback-after-queue-addresses has been created
at cdfd2ad2b7d1b252407284c74bd966a6b318e982 (commit)

- Log -----------------------------------------------------------------
commit cdfd2ad2b7d1b252407284c74bd966a6b318e982
Author: Dianne Skoll <dianne@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">

-----------------------------------------------------------------------
_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit