Unexpected file name shown when hovering over a link in the Files column (#43504).

Patch by Mizuki ISHIKAWA (user:ishikawa999) and Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24182 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2025-11-26 06:21:24 +00:00
parent a45a2fc4f7
commit 84804dd8b8
2 changed files with 5 additions and 4 deletions

View File

@@ -370,9 +370,9 @@ table.list td.icon {width: 100%;} /* Prevents border from disappearing due to in
table.list td.id { width: 2%; text-align: center;}
table.list td.name, table.list td.description, table.list td.subject, table.list td.parent-subject, table.list td.comments, table.list td.roles, table.list td.attachments, table.list td.text, table.list td.short_description {text-align: left;}
table.list td.attachments span {display: block; height: 16px;}
table.list td.attachments span a.icon-download {display: inline-block; visibility: hidden;}
table.list td.attachments span:hover a.icon-download {visibility: visible;}
table.list td.attachments span.attachment-filename {display: block; height: 16px;}
table.list td.attachments span.attachment-filename a.icon-download {visibility: hidden;}
table.list td.attachments span.attachment-filename:hover a.icon-download {visibility: visible;}
table.list td.tick {width:15%}
table.list td.checkbox { width: 15px; padding: 2px 0 0 0; }
table.list .checkbox input {padding:0px; height: initial;}

View File

@@ -316,7 +316,8 @@ module ApplicationHelper
:icon => 'download',
:title => l(:button_download),
:download => true
)
),
class: 'attachment-filename'
)
else
object.filename