[Bps-public-commit] RT-Extension-QuickCalls branch add-quickcalls-to-user-summary created. 1.03-1-g03dcab8

BPS Git Server git at git.bestpractical.com
Tue Apr 4 15:41:32 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, add-quickcalls-to-user-summary has been created
        at  03dcab80caf642598ec67bdd74d80f9f27c1dbf8 (commit)

- Log -----------------------------------------------------------------
commit 03dcab80caf642598ec67bdd74d80f9f27c1dbf8
Author: Jason Crome <jcrome at bestpractical.com>
Date:   Tue Apr 4 11:36:59 2023 -0400

    Allow QuickCalls to be added to User Summary page

diff --git a/html/User/Elements/Portlets/QuickCalls b/html/User/Elements/Portlets/QuickCalls
new file mode 100644
index 0000000..b6c6b6d
--- /dev/null
+++ b/html/User/Elements/Portlets/QuickCalls
@@ -0,0 +1,3 @@
+<%INIT>
+$m->comp('/Elements/QuickCalls');
+</%INIT>
diff --git a/lib/RT/Extension/QuickCalls.pm b/lib/RT/Extension/QuickCalls.pm
index a0740d7..c93cb93 100644
--- a/lib/RT/Extension/QuickCalls.pm
+++ b/lib/RT/Extension/QuickCalls.pm
@@ -50,6 +50,11 @@ After you have added QuickCalls to your home page, you will be able to select
 one, click Create and be brought to the ticket creation page with multiple
 fields pre-filled.
 
+The QuickCalls portlet can also be added to the user summary page:
+
+    Set(@UserSummaryPortlets, (qw/ExtraInfo CreateTicket ActiveTickets
+        InactiveTickets UserAssets QuickCalls/));
+
 =head1 INSTALLATION
 
 =over

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


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


More information about the Bps-public-commit mailing list