Skip to content

Commit

Permalink
Merge branch '5.0/align-existing-attachment-list' into 5.0-trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrandtbuffalo committed Aug 29, 2023
2 parents 76ac1e5 + d14593f commit d27cec8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions share/html/Ticket/Elements/AddAttachments
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@
% 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>
% $m->callback( ARGSRef => \%ARGS, CallbackName => 'BeforeDeleteLink', AttachmentName => $attach_name );
(<a href="#" class="delete-attach" data-name="<%$attach_name%>"><&|/l&>Delete</&></a>)
</div>
% } # end of foreach
</span>
</div>
</div>
% } # end of if
Expand Down

0 comments on commit d27cec8

Please sign in to comment.