File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 11{{$base_classes := "signature-badge show-modal tw-cursor-pointer tw-rounded tw-border tw-px-2 tw-py-0"}}
22{{$verified_colors := "tw-border-success-border tw-bg-success-bg tw-text-success-text"}}
33{{$unverified_colors := "tw-border-warning-border tw-bg-warning-bg tw-text-warning-text"}}
4- {{if .verification.Verified}}
5- {{if eq .verification.TrustStatus "trusted"}}
6- <div class="{{$base_classes}} {{$verified_colors}}" data-modal="#{{.shortsha}}-verification-modal">Verified</div>
7- {{else}}
8- <div class="{{$base_classes}} {{$unverified_colors}}" data-modal="#{{.shortsha}}-verification-modal">Unverified</div>
9- {{end}}
4+ {{if and .verification.Verified (eq .verification.TrustStatus "trusted")}}
5+ <div class="{{$base_classes}} {{$verified_colors}}" data-modal="#{{.shortsha}}-verification-modal">Verified</div>
106{{else}}
117 <div class="{{$base_classes}} {{$unverified_colors}}" data-modal="#{{.shortsha}}-verification-modal">Unverified</div>
128{{end}}
You can’t perform that action at this time.
0 commit comments