[Rt-commit] rt branch, 4.6/line-up-quick-ticket-form, created. rt-4.4.4-767-g303f8835b

Michel Rodriguez michel at bestpractical.com
Thu Feb 13 11:09:15 EST 2020


The branch, 4.6/line-up-quick-ticket-form has been created
        at  303f8835b6421756ea490e5828707c8af14f946b (commit)

- Log -----------------------------------------------------------------
commit 303f8835b6421756ea490e5828707c8af14f946b
Author: michel <michel at bestpractical.com>
Date:   Thu Feb 13 17:06:29 2020 +0100

    Set queue selector widget and create button widths to auto.
    
    There is no need to force the small dropdown to take the whole width.
    Thus in normal size screens, we could have the dropdown and submit
    button in the same row, just like previous RT versions.

diff --git a/share/html/User/Elements/Portlets/CreateTicket b/share/html/User/Elements/Portlets/CreateTicket
index c26481aa0..50e02b8ed 100644
--- a/share/html/User/Elements/Portlets/CreateTicket
+++ b/share/html/User/Elements/Portlets/CreateTicket
@@ -47,10 +47,18 @@
 %# END BPS TAGGED BLOCK }}}
 <&| /Widgets/TitleBox, title => loc('Quick ticket creation'), class => "user create-ticket" &>
 <form action="<%RT->Config->Get('WebPath')%>/Ticket/Create.html">
-<&|/l&>Create a ticket with this user as the Requestor in Queue: </&>
-<input type="hidden" name="Requestors" value="<%$User->EmailAddress%>">
-<& /Elements/SelectNewTicketQueue &>
-<input type="submit" name="CreateTicket" value="<&|/l&>Create</&>" class="button btn btn-primary form-control">
+  <div class="col-md-12">
+    <&|/l&>Create a ticket with this user as the Requestor in Queue: </&>
+  </div>
+  <div class="form-row">
+    <input type="hidden" name="Requestors" value="<%$User->EmailAddress%>">
+    <div class="col-auto">
+      <& /Elements/SelectNewTicketQueue &>
+    </div>
+    <div class="col-auto">
+      <input type="submit" name="CreateTicket" value="<&|/l&>Create</&>" class="button btn btn-primary form-control">
+    </div>
+  </div>
 </form>
 </&>
 <%ARGS>

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


More information about the rt-commit mailing list