mirror of
1
Fork 0
forgejo/templates/repo/diff
silverwind 9269a038a4
Direct avatar rendering (#13649)
* Direct avatar rendering

This adds new template helpers for avatar rendering which output image
elements with direct links to avatars which makes them cacheable by the
browsers.

This should be a major performance improvment for pages with many avatars.

* fix avatars of other user's profile pages

* fix top border on user avatar name

* uncircle avatars

* remove old incomplete avatar selector

* use title attribute for name and add it back on blame

* minor refactor

* tweak comments

* fix url path join and adjust test to new result

* dedupe functions
2020-12-03 19:46:11 +01:00
..
blob_excerpt.tmpl Fix whitespace rendering in diff (#13415) 2020-11-04 09:14:07 +02:00
box.tmpl Reply button is not removed when deleting a code review comment (#13774) 2020-12-03 17:05:27 +02:00
comment_form.tmpl Misc UI fixes, add secondary color (#13378) 2020-11-01 15:04:26 -05:00
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comments.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
compare.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
conversation.tmpl Reply button is not removed when deleting a code review comment (#13774) 2020-12-03 17:05:27 +02:00
image_diff.tmpl Bugfix for image compare and minor improvements to image compare (#8289) 2019-10-04 15:58:54 -04:00
new_comment.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
new_review.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00
options_dropdown.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00
section_unified.tmpl Reply button is not removed when deleting a code review comment (#13774) 2020-12-03 17:05:27 +02:00
stats.tmpl Render diff stats server-side (#13579) 2020-11-15 23:50:06 +00:00
whitespace_dropdown.tmpl Comment box tweaks and SVG dropdown triangles (#13376) 2020-10-31 18:15:11 -04:00