forgejo/templates/repo/issue/view_content
bobemoe b35c1b5784
add thumbnail preview section to issue attachments (#13826)
* add thumbnail preview section to attachments

* dont show thumbnail if the image is already shown inline

* update router to pass the `content` to the attachemnts template

* limit attachment preview height to 150px (same as width)

* remove unused css (referance removed in https://github.com/go-gitea/gitea/pull/11141/files#diff-9faae32445ed9673de2830c9fc35e93f44487f0a0068202988adaf00a5bac850L66 )

* dont show divider after edit if no attachemnts

Co-authored-by: James <inbox.dev@jhodges.co.uk>
Co-authored-by: 6543 <6543@obermui.de>
2020-12-13 21:12:27 +02:00
..
add_reaction.tmpl Style and template tweaks (#13828) 2020-12-04 12:18:37 +01:00
attachments.tmpl add thumbnail preview section to issue attachments (#13826) 2020-12-13 21:12:27 +02:00
comments.tmpl add thumbnail preview section to issue attachments (#13826) 2020-12-13 21:12:27 +02:00
context_menu.tmpl Style and template tweaks (#13828) 2020-12-04 12:18:37 +01:00
pull.tmpl Add pull request manually merge instruction (#13840) 2020-12-10 03:59:05 +01:00
reactions.tmpl Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
sidebar.tmpl Remove JS globals related to timetracking and due date (#13921) 2020-12-10 17:19:18 +01:00