Files
molodetz.nl/data/gitea/templates/repo/shabox_badge.tmpl
T
retoor 404d3114f4 chore: replace all gitea branding references with molodetz in admin and package templates
Update placeholder values, documentation URLs, icon names, and registry identifiers across 14 template files to reflect the molodetz rebranding. Changes include LDAP group filter placeholders, help link URLs, SVG icon prefixes, organization names in devtest, install page domain examples, and package registry documentation links for Alpine, Cargo, Chef, Composer, Conan, and Conda.
2024-12-27 11:28:38 +00:00

16 lines
803 B
Cheetah

<div class="ui detail icon button">
{{if .verification.Verified}}
<div title="{{if eq .verification.TrustStatus "trusted"}}{{else if eq .verification.TrustStatus "untrusted"}}{{ctx.Locale.Tr "repo.commits.signed_by_untrusted_user"}}: {{else}}{{ctx.Locale.Tr "repo.commits.signed_by_untrusted_user_unmatched"}}: {{end}}{{.verification.Reason}}">
{{if ne .verification.SigningUser.ID 0}}
{{svg "molodetz-lock"}}
{{ctx.AvatarUtils.Avatar .verification.SigningUser 28 "signature"}}
{{else}}
<span title="{{ctx.Locale.Tr "gpg.default_key"}}">{{svg "molodetz-lock-cog"}}</span>
{{ctx.AvatarUtils.AvatarByEmail .verification.SigningEmail "" 28 "signature"}}
{{end}}
</div>
{{else}}
<span title="{{ctx.Locale.Tr .verification.Reason}}">{{svg "molodetz-unlock"}}</span>
{{end}}
</div>