Skip to content

Commit 37438a1

Browse files
bircniCopilot
andcommitted
lint again
Co-authored-by: Copilot <copilot@github.com>
1 parent 3176f89 commit 37438a1

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

templates/repo/commit_coauthor_avatars.tmpl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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 -}}

0 commit comments

Comments
 (0)