From ec2994b4b8b5d525e339971c5e153b852b24baf9 Mon Sep 17 00:00:00 2001 From: MAEDA Go Date: Mon, 21 Sep 2026 16:56:06 +0900 Subject: [PATCH 1/3] Display the attachment description on its own line on the attachment preview page. --- app/views/layouts/_file.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_file.html.erb b/app/views/layouts/_file.html.erb index 902964bed..2ca56f5b9 100644 --- a/app/views/layouts/_file.html.erb +++ b/app/views/layouts/_file.html.erb @@ -7,7 +7,7 @@
-

<%= "#{@attachment.description} - " unless @attachment.description.blank? %> +

<% if @attachment.description.present? %><%= @attachment.description %>
<% end %> <%= link_to_user(@attachment.author) %>, <%= format_time(@attachment.created_on) %>

-- 2.55.0