1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-11 05:30:03 -04:00
gitea/routers/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
..
activity.go
attachment.go
blame.go Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
branch.go
commit.go
compare.go
download.go
editor_test.go
editor.go
http.go
issue_dependency.go
issue_label_test.go
issue_label.go
issue_lock.go
issue_stopwatch.go
issue_test.go Refactor combine label comments with tests (#13619) 2020-11-20 17:29:09 -05:00
issue_timetrack.go
issue_watch.go
issue.go Add block on official review requests branch protection (#13705) 2020-11-28 21:30:46 +02:00
lfs.go
main_test.go
middlewares.go
migrate.go
milestone.go
projects.go
pull_review.go
pull.go
release_test.go
release.go
repo.go
search.go
setting_protected_branch.go Add block on official review requests branch protection (#13705) 2020-11-28 21:30:46 +02:00
setting.go
settings_test.go
topic.go
view.go
webhook.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
wiki_test.go
wiki.go