diff --git a/templates/repo/commit_author.tmpl b/templates/repo/commit_author.tmpl index 349bcad853..a767390a1f 100644 --- a/templates/repo/commit_author.tmpl +++ b/templates/repo/commit_author.tmpl @@ -4,7 +4,6 @@ * Author: The author, currently only the commit page passes this * AvatarSize: Avatar size in pixels * AuthorBold: Whether to render the author as bold text -* IsSigned: Whether the user is currently signed in */}}
{{if .User}} @@ -28,7 +27,7 @@ {{$username = .Commit.Author.Name}} {{end}} {{ctx.AvatarUtils.AvatarByEmail .Author.Email $username .AvatarSize}} - + {{if .Author.HomeLink}} {{$username}} @@ -45,7 +44,7 @@ {{$username = .Author.Name}} {{end}} {{ctx.AvatarUtils.AvatarByEmail .Commit.Author.Email $username .AvatarSize}} - + {{if .Commit.Author.Name}} {{.Commit.Author.Name}} {{else}} diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index 97b3e51ba9..c086a53624 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -133,7 +133,6 @@ "Author" .Author "AvatarSize" 20 "AuthorBold" true - "IsSigned" $.IsSigned )}} {{DateUtils.TimeSince .Commit.Author.When}} diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl index e1d8141ab9..0ab466d407 100644 --- a/templates/repo/commits_list.tmpl +++ b/templates/repo/commits_list.tmpl @@ -19,7 +19,6 @@ "Commit" . "User" .User "AvatarSize" 28 - "IsSigned" $.IsSigned )}}
diff --git a/templates/repo/latest_commit.tmpl b/templates/repo/latest_commit.tmpl index f2fa5c1b89..5b2bdfcb6e 100644 --- a/templates/repo/latest_commit.tmpl +++ b/templates/repo/latest_commit.tmpl @@ -7,7 +7,6 @@ "Commit" .LatestCommit "AvatarSize" 24 "AuthorBold" true - "IsSigned" $.IsSigned )}} {{template "repo/commit_sign_badge" dict "Commit" .LatestCommit "CommitBaseLink" (print .RepoLink "/commit") "CommitSignVerification" .LatestCommitVerification}}