diff options
author | zeripath <art27@cantab.net> | 2020-10-11 00:49:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-11 00:49:59 +0100 |
commit | 7eb846013299465e4cd73f76f13a00984183146e (patch) | |
tree | 0263f6af28d7b3247545fff3632ba94c9119a58e /templates/repo/issue/view_content/attachments.tmpl | |
parent | 6f2784911fe739d3b83787b7984c1b8a2fb31690 (diff) | |
download | gitea-7eb846013299465e4cd73f76f13a00984183146e.tar.gz gitea-7eb846013299465e4cd73f76f13a00984183146e.zip |
Fix attachments list in edit comment (#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
Diffstat (limited to 'templates/repo/issue/view_content/attachments.tmpl')
-rw-r--r-- | templates/repo/issue/view_content/attachments.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/attachments.tmpl b/templates/repo/issue/view_content/attachments.tmpl index 1144b9a77a..d76c0bbfa2 100644 --- a/templates/repo/issue/view_content/attachments.tmpl +++ b/templates/repo/issue/view_content/attachments.tmpl @@ -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"}}</span> + <span class="ui image">{{svg "octicon-file"}}</span> {{else}} <span class="ui image">{{svg "octicon-desktop-download"}}</span> {{end}} |