1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/web_src/js
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
..
components Remove fetch request from heatmap (#13623) 2020-11-18 16:00:16 -06:00
features Remove fetch request from heatmap (#13623) 2020-11-18 16:00:16 -06:00
markdown Make SVG size argument optional (#12814) 2020-09-11 16:19:00 -04:00
standalone Swap swagger-ui with swagger-ui-dist (#13777) 2020-12-01 20:18:39 -05:00
vendor Rewrite GitGraph.js (#12137) 2020-07-05 02:04:24 +01:00
easymde.js Switch from SimpleMDE to EasyMDE (#13333) 2020-11-10 14:16:30 -05:00
index.js add thumbnail preview section to issue attachments (#13826) 2020-12-13 21:12:27 +02:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
publicpath.js Fix webpack chunk loading with STATIC_URL_PREFIX (#11526) 2020-05-20 23:33:31 +01:00
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
svg.js Dropdowns, Labels fixes and more CSS tweaks (#13733) 2020-11-29 01:22:04 -05:00
utils.js Update some JS dependencies (#13222) 2020-10-21 19:02:24 +08:00