chore(ui): use repo/shabox template

Signed-off-by: iamyaash <iamyaash@outlook.com>
This commit is contained in:
iamyaash 2025-08-08 12:11:09 +05:30
commit f15bc4b330

View file

@ -51,10 +51,12 @@
{{else if $.Reponame}}
{{$commitShaLink = (printf "%s/commit/%s" $commitRepoLink (PathEscape .ID.String))}}
{{end}}
<a {{if $commitShaLink}}href="{{$commitShaLink}}"{{end}} class="{{$class}}">
<span class="shortsha">{{ShortSha .ID.String}}</span>
{{if .Signature}}{{template "repo/shabox_badge" dict "root" $ "verification" .Verification}}{{end}}
</a>
{{template "repo/shabox" (dict
"sha1" .ID.String
"commitLink" $commitShaLink
"signature" .Signature
"verification" .Verification
)}}
</td>
<td class="message">
<span class="message-wrapper">