1
0
Fork 0
forgejo/templates/repo
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
..
branch Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
diff Direct avatar rendering (#13649) 2020-12-03 19:46:11 +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 Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
migrate Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
projects Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
pulls Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
release Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
settings Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01: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 Markdown and Repo header tweaks (#13744) 2020-11-29 17:52:11 +02: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.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
commits_list.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
commits_list_small.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
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 Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
header_icon.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
home.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
search.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
shabox_badge.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01: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 Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
watchers.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00