|
216 | 216 | <div class="gt-df gt-ac"> |
217 | 217 | {{if .Verification.Verified}} |
218 | 218 | {{if ne .Verification.SigningUser.ID 0}} |
219 | | - {{svg "octicon-shield-check" 16 "gt-mr-3"}} |
| 219 | + {{svg "octicon-verified" 16 "gt-mr-3"}} |
220 | 220 | {{if .Verification.SigningSSHKey}} |
221 | 221 | <span class="ui text gt-mr-3">{{.locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span> |
222 | 222 | {{.Verification.SigningSSHKey.Fingerprint}} |
|
225 | 225 | {{.Verification.SigningKey.PaddedKeyID}} |
226 | 226 | {{end}} |
227 | 227 | {{else}} |
228 | | - {{svg "octicon-shield-lock" 16 "gt-mr-3"}} |
| 228 | + {{svg "octicon-unverified" 16 "gt-mr-3"}} |
229 | 229 | {{if .Verification.SigningSSHKey}} |
230 | 230 | <span class="ui text gt-mr-3 tooltip" data-content="{{.locale.Tr "gpg.default_key"}}">{{.locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span> |
231 | 231 | {{.Verification.SigningSSHKey.Fingerprint}} |
|
235 | 235 | {{end}} |
236 | 236 | {{end}} |
237 | 237 | {{else if .Verification.Warning}} |
238 | | - {{svg "octicon-shield" 16 "gt-mr-3"}} |
| 238 | + {{svg "octicon-unverified" 16 "gt-mr-3"}} |
239 | 239 | {{if .Verification.SigningSSHKey}} |
240 | 240 | <span class="ui text gt-mr-3">{{.locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span> |
241 | 241 | {{.Verification.SigningSSHKey.Fingerprint}} |
|
246 | 246 | {{else}} |
247 | 247 | {{if .Verification.SigningKey}} |
248 | 248 | {{if ne .Verification.SigningKey.KeyID ""}} |
249 | | - {{svg "octicon-shield" 16 "gt-mr-3"}} |
| 249 | + {{svg "octicon-verified" 16 "gt-mr-3"}} |
250 | 250 | <span class="ui text gt-mr-3">{{.locale.Tr "repo.commits.gpg_key_id"}}:</span> |
251 | 251 | {{.Verification.SigningKey.PaddedKeyID}} |
252 | 252 | {{end}} |
253 | 253 | {{end}} |
254 | 254 | {{if .Verification.SigningSSHKey}} |
255 | 255 | {{if ne .Verification.SigningSSHKey.Fingerprint ""}} |
256 | | - {{svg "octicon-shield" 16 "gt-mr-3"}} |
| 256 | + {{svg "octicon-verified" 16 "gt-mr-3"}} |
257 | 257 | <span class="ui text gt-mr-3">{{.locale.Tr "repo.commits.ssh_key_fingerprint"}}:</span> |
258 | 258 | {{.Verification.SigningSSHKey.Fingerprint}} |
259 | 259 | {{end}} |
|
0 commit comments