[Bps-public-commit] RT-Extension-QuickCalls branch allow-multiple-custom-quickcall-portlets-via-config updated. 1.03-7-gce6e0f4

BPS Git Server git at git.bestpractical.com
Thu Sep 28 22:31:30 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "RT-Extension-QuickCalls".

The branch, allow-multiple-custom-quickcall-portlets-via-config has been updated
       via  ce6e0f42ab825a5f6a5b8daf77bd9ca4a4f9600a (commit)
      from  2749b9e6944185dabf73b0068476e973edb1fa1a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ce6e0f42ab825a5f6a5b8daf77bd9ca4a4f9600a
Author: Brad Embree <brad at bestpractical.com>
Date:   Thu Sep 28 15:31:25 2023 -0700

    Update POD

diff --git a/lib/RT/Extension/QuickCalls.pm b/lib/RT/Extension/QuickCalls.pm
index 37c95f7..603ffec 100644
--- a/lib/RT/Extension/QuickCalls.pm
+++ b/lib/RT/Extension/QuickCalls.pm
@@ -111,6 +111,49 @@ or add C<RT::Extension::QuickCalls> to your existing C<@Plugins> line.
 
 =back
 
+=head1 CONFIGURATION
+
+=head2 MULTIPLE PORTLETS
+
+If you would like to have multiple different versions of the QuickCalls
+portlet you can use the C<QuickCallsPages> configuration option.
+
+    Set($QuickCallsPages,{
+        One => [
+            {Name => "One Foo", Queue => 'General', Status => 'resolved'},
+            {Name => "One Bar", Queue => 'Queue2',  Status => 'resolved'}
+        ],
+        Two => [
+            {Name => "Two Foo", Queue => 'General', Status => 'resolved'},
+            {Name => "Two Bar", Queue => 'Queue2',  Status => 'resolved'}
+        ],
+    });
+
+The above configuration would give you two new portlet options to add to
+your dashboards: C<QuickCalls-One> and C<QuickCalls-Two>.
+
+=head2 QUICK CREATE
+
+If you would like a QuickCalls action to automatically create a ticket
+instead of taking the user to the Ticket Create page you can set the
+option QuickCreate to a true value:
+
+    Set($QuickCalls,[{Name => "Foo", Queue => 'General', Status => 'resolved', 'QuickCreate' => 1},
+                     {Name => "Bar", Queue => 'Queue2',  Status => 'resolved'}]);
+
+or
+
+    Set($QuickCallsPages,{
+        One => [
+            {Name => "One Foo", Queue => 'General', Status => 'resolved', 'QuickCreate' => 1},
+            {Name => "One Bar", Queue => 'Queue2',  Status => 'resolved'}
+        ],
+        Two => [
+            {Name => "Two Foo", Queue => 'General', Status => 'resolved'},
+            {Name => "Two Bar", Queue => 'Queue2',  Status => 'resolved'}
+        ],
+    });
+
 =head1 AUTHOR
 
 Best Practical Solutions, LLC E<lt>modules at bestpractical.comE<gt>

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

Summary of changes:
 lib/RT/Extension/QuickCalls.pm | 43 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)


hooks/post-receive
-- 
RT-Extension-QuickCalls


More information about the Bps-public-commit mailing list