[Rt-commit] rt branch 5.0/fix-new-ticket-from-asset-modal created. rt-5.0.4-241-gf101896dc2

BPS Git Server git at git.bestpractical.com
Tue Oct 10 14:28:13 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".

The branch, 5.0/fix-new-ticket-from-asset-modal has been created
        at  f101896dc265117949fa63ab31edb177446c0a1b (commit)

- Log -----------------------------------------------------------------
commit f101896dc265117949fa63ab31edb177446c0a1b
Author: Ronaldo Richieri <ronaldo at bestpractical.com>
Date:   Tue Oct 10 11:15:31 2023 -0300

    Fix Create Linked Ticket modal on Self Service Asset page
    
    The Create Linked Ticket modal on the Self Service Asset page was not
    migrated to elevator themes. This patch fixes the issue.

diff --git a/share/html/SelfService/Asset/Helpers/CreateLinkedTicket b/share/html/SelfService/Asset/Helpers/CreateLinkedTicket
index 2384e9a795..b540774dbc 100644
--- a/share/html/SelfService/Asset/Helpers/CreateLinkedTicket
+++ b/share/html/SelfService/Asset/Helpers/CreateLinkedTicket
@@ -51,5 +51,17 @@ $Asset
 <%init>
 my $asset = LoadAsset($Asset);
 </%init>
-<& /Asset/Elements/CreateLinkedTicket, AssetObj => $asset &>
+<div class="modal-dialog modal-dialog-centered" role="document">
+  <div class="modal-content">
+    <div class="modal-header">
+      <h5 class="modal-title"><&|/l&>Create Linked Ticket</&></h5>
+      <a href="javascript:void(0)" class="close" data-dismiss="modal" aria-label="Close">
+        <span aria-hidden="true">×</span>
+      </a>
+    </div>
+    <div class="modal-body">
+      <& /Asset/Elements/CreateLinkedTicket, AssetObj => $asset &>
+    </div>
+  </div>
+</div>
 % $m->abort;

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


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list