[Rt-commit] rtir branch, 4.2-theme/migrate-to-elevator-themes, updated. 4.0.1rc1-111-g368d9bee

Blaine Motsinger blaine at bestpractical.com
Thu Feb 27 19:03:33 EST 2020


The branch, 4.2-theme/migrate-to-elevator-themes has been updated
       via  368d9bee2b1525fe7f03caffa8ad44a1a15045ac (commit)
      from  a0e89d8aa60dc7702d3a6176bce47bfb2890da2e (commit)

Summary of changes:
 html/RTIR/Create.html          | 11 +++--------
 html/RTIR/Incident/Create.html | 19 +++++++------------
 2 files changed, 10 insertions(+), 20 deletions(-)

- Log -----------------------------------------------------------------
commit 368d9bee2b1525fe7f03caffa8ad44a1a15045ac
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Thu Feb 27 18:01:30 2020 -0600

    Fix message box alignment to match RT styling

diff --git a/html/RTIR/Create.html b/html/RTIR/Create.html
index 203ec3b3..8f19872c 100644
--- a/html/RTIR/Create.html
+++ b/html/RTIR/Create.html
@@ -311,10 +311,10 @@
 % }
 
   <div class="form-row">
-    <div class="label col-md-3">
+    <div class="form-group label col-md-3">
       <&|/l&>Subject</&>:
     </div>
-    <div class="value col-md-9">
+    <div class="form-group value col-md-9">
       <input class="form-control" type="text" name="Subject" value="<% $Subject || '' %>" />
     </div>
   </div>
@@ -328,11 +328,7 @@
   </div>
 % }
 
-  <div class="form-row">
-    <div class="label col-md-3">
-      <&|/l&>Message</&>:
-    </div>
-    <div class="value col-md-9">
+  <div class="form-group">
 <%perl>
  my $include_signature = 1;
  unless (exists $ARGS{Content}) {
@@ -371,7 +367,6 @@
 % } else {
 <& /Elements/MessageBox, QuoteTransaction => $QuoteTransaction &>
 % }
-    </div>
   </div>
 
   <& /Ticket/Elements/AddAttachments, %ARGS, QueueObj => $QueueObj &>
diff --git a/html/RTIR/Incident/Create.html b/html/RTIR/Incident/Create.html
index 1ab32f33..d6fd7dde 100644
--- a/html/RTIR/Incident/Create.html
+++ b/html/RTIR/Incident/Create.html
@@ -202,10 +202,10 @@ if ( $ChildObj && $ChildObj->id && !$ChildObj->CurrentUserHasRight('ModifyTicket
 
 <&| /Widgets/TitleBox, title => $Title, class => 'ticket-info-message' &>
   <div class="form-row">
-    <div class="label col-md-3">
+    <div class="form-group label col-md-3">
       <&|/l&>Subject</&>:
     </div>
-    <div class="value col-md-9">
+    <div class="form-group value col-md-9">
       <input class="form-control" type="text" name="Subject" value="<% $ARGS{'Subject'} || '' %>" />
     </div>
   </div>
@@ -221,16 +221,11 @@ if ( $ChildObj && $ChildObj->id && !$ChildObj->CurrentUserHasRight('ModifyTicket
   </div>
 % }
 
-  <div class="form-row">
-    <div class="label col-md-3">
-      <&|/l&>Message</&>:
-    </div>
-    <div class="value col-md-9">
-      <& /Elements/MessageBox,
-          Default => $ARGS{'Content'},
-          IncludeSignature => 0,
-      &>
-    </div>
+  <div class="form-group">
+    <& /Elements/MessageBox,
+        Default => $ARGS{'Content'},
+        IncludeSignature => 0,
+    &>
   </div>
 
 <& /Ticket/Elements/AddAttachments, %ARGS, QueueObj => $QueueObj &>

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


More information about the rt-commit mailing list