mirror of
https://github.com/go-gitea/gitea
synced 2025-08-26 11:28:27 +00:00
Backport #13036 #11141 broke the appearance of dropzone attachments when editting comments causing poorly updating lists. This PR fixes this. Fix #12583 Signed-off-by: Andrew Thornton art27@cantab.net Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="twelve wide column" style="padding: 6px;">
|
||||
<a target="_blank" rel="noopener noreferrer" href="{{.DownloadURL}}" title='{{$.ctx.i18n.Tr "repo.issues.attachment.open_tab" .Name}}'>
|
||||
{{if FilenameIsImage .Name}}
|
||||
<span class="ui image">{{svg "octicon-file-media" 16}}</span>
|
||||
<span class="ui image">{{svg "octicon-file" 16}}</span>
|
||||
{{else}}
|
||||
<span class="ui image">{{svg "octicon-desktop-download" 16}}</span>
|
||||
{{end}}
|
||||
|
Reference in New Issue
Block a user