File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ Template Attributes:
4
4
* Verification: Verification struct
5
5
*/}}
6
6
{{if (and .Commit .Commit.Signature .Verification)}}
7
- {{$icon : = ""}}
7
+ {{$icon = "octicon-unverified "}}
8
8
{{$text := ""}}
9
9
{{$colorClass := ""}}
10
10
{{if .Verification.Verified}}
11
- {{$icon = "octicon-verified"}}
12
11
{{if eq .Verification.TrustStatus "trusted"}}
12
+ {{$icon = "octicon-verified"}}
13
13
{{$colorClass = "tw-text-green"}}
14
14
{{$text = (ctx.Locale.Tr "sig_verified")}}
15
15
{{else if eq .Verification.TrustStatus "untrusted"}}
@@ -20,7 +20,6 @@ Template Attributes:
20
20
{{$text = (ctx.Locale.Tr "repo.commits.signed_by_untrusted_user_unmatched")}}
21
21
{{end}}
22
22
{{else}}
23
- {{$icon = "octicon-unverified"}}
24
23
{{if .Verification.Warning}}
25
24
{{$colorClass = "tw-text-red"}}
26
25
{{else}}
You can’t perform that action at this time.
0 commit comments