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

BPS Git Server git at git.bestpractical.com
Tue Oct 10 14:40:22 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  466a3a7c8e5e76823501510c994fd0ee34d28e9b (commit)

- Log -----------------------------------------------------------------
commit 466a3a7c8e5e76823501510c994fd0ee34d28e9b
Author: Ronaldo Richieri <ronaldo at bestpractical.com>
Date:   Tue Oct 10 11:39:49 2023 -0300

    Fix Create Linked Ticket modal on Self Service Asset page
    
    ffe0864f migrated some modals to elevator themes but the Create Linked Ticket modal on the Self Service Asset page was not
    migrated as well. 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