1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00
forgejo/templates/repo/issue
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
..
labels Fix label styles affecting shabox (#13734) 2020-11-28 22:26:03 -05:00
view_content add thumbnail preview section to issue attachments (#13826) 2020-12-13 21:12:27 +02:00
branch_selector_field.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
choose.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
comment_tab.tmpl Attachments: Add extension support, allow all types for releases (#12465) 2020-10-05 01:49:33 -04:00
label_precolors.tmpl Indent all templates with tabs 2015-12-08 00:57:46 +01:00
labels.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
list.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
milestone_issues.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
milestone_new.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
milestones.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
navbar.tmpl Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
new.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
new_form.tmpl Style and template tweaks (#13828) 2020-12-04 12:18:37 +01:00
openclose.tmpl Markdown and Repo header tweaks (#13744) 2020-11-29 17:52:11 +02:00
search.tmpl Disable search box autofocus on issue/pr pages (#12229) 2020-07-26 22:43:14 -04:00
view.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
view_content.tmpl add thumbnail preview section to issue attachments (#13826) 2020-12-13 21:12:27 +02:00
view_title.tmpl Style and template tweaks (#13828) 2020-12-04 12:18:37 +01:00