gitea/templates/repo
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
..
branch Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
diff Diff stat improvements (#13954) 2020-12-12 02:06:22 +01:00
editor Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
graph Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
issue add thumbnail preview section to issue attachments (#13826) 2020-12-13 21:12:27 +02:00
migrate Improve migrate page and add card CSS (#13751) 2020-12-05 12:09:09 +02:00
projects Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
pulls Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
release Fix frontpage avatars (#13853) 2020-12-09 01:12:15 +01:00
settings Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
wiki Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
activity.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
blame.tmpl Fix whitespace rendering in diff (#13415) 2020-11-04 09:14:07 +02:00
branch_dropdown.tmpl Replace more icons with SVG, repo search tweaks (#13860) 2020-12-09 14:03:19 -05:00
commit_page.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
commit_status.tmpl UI: Fix overflow issues in repo (#7190) 2019-06-14 09:32:13 +08:00
commits_list_small.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
commits_list.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
commits_table.tmpl Fix tooltips and issue dependency styles (#13458) 2020-11-10 20:28:07 +02:00
commits.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
create.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
empty.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
forks.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
graph.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
header.tmpl Repo avatar fixes (#13891) 2020-12-07 23:14:28 -05:00
home.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
icon.tmpl Repo avatar fixes (#13891) 2020-12-07 23:14:28 -05:00
search.tmpl Style and template tweaks (#13828) 2020-12-04 12:18:37 +01:00
shabox_badge.tmpl Fix avatar template error (#13833) 2020-12-03 23:12:59 +00:00
sub_menu.tmpl Dropdowns, Labels fixes and more CSS tweaks (#13733) 2020-11-29 01:22:04 -05:00
upload.tmpl Fix attachments list in edit comment (#13036) 2020-10-11 00:49:59 +01:00
user_cards.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
view_file.tmpl Fix various CSS issues (#13769) 2020-12-03 18:05:35 +01:00
view_list.tmpl Fix frontpage avatars (#13853) 2020-12-09 01:12:15 +01:00
watchers.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00