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