File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{{/*
2- Renders the author/co-author avatar stack and name text for a commit.
3- Args (via dict):
4- AuthorUser - *user_model.User (may be nil if no Gitea account)
5- AuthorSignature - *git.Signature (always set: name + email from git)
6- CoAuthors - []*user_model.CoAuthorUser
7- fields: GiteaUser (*User, may be nil), TrailerSignature (*git.Signature)
2+ Renders the author/co-author avatar stack and name text for a commit.
3+ Args (via dict):
4+ AuthorUser - *user_model.User (may be nil if no Gitea account)
5+ AuthorSignature - *git.Signature (always set: name + email from git)
6+ CoAuthors - []*user_model.CoAuthorUser
7+ fields: GiteaUser (*User, may be nil), TrailerSignature (*git.Signature)
88
9- Avatar stack is capped at 10 children (author + up to 9 co-authors); any
10- remainder is collapsed into a trailing "+N" chip. The .coauthor-avatar-stack
11- CSS rules expect at most 10 children to fan out cleanly on hover.
9+ Avatar stack is capped at 10 children (author + up to 9 co-authors); any
10+ remainder is collapsed into a trailing "+N" chip. The .coauthor-avatar-stack
11+ CSS rules expect at most 10 children to fan out cleanly on hover.
1212*/ }}
1313<span class= " author-wrapper" >
1414{{- if .CoAuthors -}}
You can’t perform that action at this time.
0 commit comments