Commit Graph

5 Commits (b551bc2a089d3310dde5706d1b9702f112fe3ea0)

Author SHA1 Message Date
silverwind 118aeddcd3
Fix avatar template error ()
Fixes: https://github.com/go-gitea/gitea/issues/13831
silverwind 9269a038a4
Direct avatar rendering ()
* 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
silverwind ffddf3f8a6
Make SVG size argument optional ()
Now defaults to 16 on both frontend and backend.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Cirno the Strongest b918609acc
Use custom SVGs for commit signing lock icon ()
* Use custom SVGs for commit signing lock icon

* missing spans

* editorconfig

* xmlns and remove aria-hidden

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Cirno the Strongest d0a18a1270
Show full GPG commit status on PR commit history ()
* Show full GPG commit status on PR commit history

* move shabox badge to separate template

* unnecessary $

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>