[Rt-commit] rt branch 5.0/editdate-improper-tag-nesting created. rt-5.0.2-84-g2cb7d25560

BPS Git Server git at git.bestpractical.com
Thu Feb 24 22:32:59 UTC 2022


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/editdate-improper-tag-nesting has been created
        at  2cb7d255609ac1fb895175d603eadf6b77df3523 (commit)

- Log -----------------------------------------------------------------
commit 2cb7d255609ac1fb895175d603eadf6b77df3523
Author: Brian Conry <bconry at bestpractical.com>
Date:   Thu Feb 24 16:30:32 2022 -0600

    Fix improper HTML tag nesting
    
    In /Ticket/Elements/EditDates the closing tags for some <span> and <div>
    elements were inadvertantly switched during the conversion to bootstrap.

diff --git a/share/html/Ticket/Elements/EditDates b/share/html/Ticket/Elements/EditDates
index f2cbcf76e6..5693853cf2 100644
--- a/share/html/Ticket/Elements/EditDates
+++ b/share/html/Ticket/Elements/EditDates
@@ -60,10 +60,10 @@
         &>
           </div>
           <div class="col-auto">
-            <span class="current-value form-control">(<% $TicketObj->StartsObj->AsString %>)</div>
+            <span class="current-value form-control">(<% $TicketObj->StartsObj->AsString %>)</span>
           </div>
         </div>
-    </span>
+    </div>
   </div>
   <div class="form-row">
     <div class="label col-3"><&|/l&>Started</&>:</div>
@@ -79,10 +79,10 @@
         &>
           </div>
           <div class="col-auto">
-            <span class="current-value form-control">(<%$TicketObj->StartedObj->AsString %>)</div>
+            <span class="current-value form-control">(<%$TicketObj->StartedObj->AsString %>)</span>
           </div>
         </div>
-    </span>
+    </div>
   </div>
 
   <div class="form-row">
@@ -101,10 +101,10 @@
         &>
           </div>
           <div class="col-auto">
-        <span class="current-value form-control">(<% $TicketObj->ToldObj->AsString %>)</div>
+        <span class="current-value form-control">(<% $TicketObj->ToldObj->AsString %>)</span>
           </div>
         </div>
-    </span>
+    </div>
   </div>
   <div class="form-row">
     <div class="label col-3"><&|/l&>Due</&>:</div>
@@ -120,10 +120,10 @@
         &>
           </div>
           <div class="col-auto">
-        <span class="current-value form-control">(<% $TicketObj->DueObj->AsString %>)</div>
+        <span class="current-value form-control">(<% $TicketObj->DueObj->AsString %>)</span>
           </div>
         </div>
-    </span>
+    </div>
   </div>
   <& /Elements/EditCustomFields, Object => $TicketObj, Grouping => 'Dates', InTable => 1 &>
 % $m->callback( %ARGS, CallbackName => 'EndOfList', Ticket => $TicketObj );

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


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list