[Rt-commit] rt branch 5.0/align-existing-attachment-list created. rt-5.0.2-50-gd14593f62f

BPS Git Server git at git.bestpractical.com
Thu Dec 16 14:16:56 UTC 2021


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/align-existing-attachment-list has been created
        at  d14593f62f88b5a4768b7fc20e43799743aff5d2 (commit)

- Log -----------------------------------------------------------------
commit d14593f62f88b5a4768b7fc20e43799743aff5d2
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Dec 16 22:00:51 2021 +0800

    Align existing attachment list
    
    Previously it was a bit higher than the corresponding label "Attached file".

diff --git a/share/html/Ticket/Elements/AddAttachments b/share/html/Ticket/Elements/AddAttachments
index 750bd923b4..7b28d89fb3 100644
--- a/share/html/Ticket/Elements/AddAttachments
+++ b/share/html/Ticket/Elements/AddAttachments
@@ -48,6 +48,7 @@
 % if ( $attachments ) {
 <div class="form-row attachment"><div class="label col-3"><&|/l&>Attached file</&>:</div>
 <div class="value col-9">
+  <span class="current-value">
 % foreach my $attach_name ( sort keys %$attachments ) {
     <div>
         <label for="DeleteAttach-<%$attach_name%>"><% $attach_name %></label>
@@ -55,6 +56,7 @@
         (<a href="#" class="delete-attach" data-name="<%$attach_name%>"><&|/l&>Delete</&></a>)
     </div>
 % } # end of foreach
+  </span>
 </div>
 </div>
 % } # end of if

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


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list