This repository has no description
1{{ define "user/fragments/issueEvent" }}
2 {{ $repoOwner := resolve .Repo.Did }}
3 {{ $repoUrl := printf "%s/%s" $repoOwner .Repo.Name }}
4 <div class="flex items-center gap-2 text-gray-600 dark:text-gray-300 overflow-hidden">
5 {{ if .Open }}
6 <span class="text-green-600 dark:text-green-500 shrink-0">
7 {{ i "circle-dot" "w-4 h-4" }}
8 </span>
9 {{ else }}
10 <span class="text-gray-500 dark:text-gray-400 shrink-0">
11 {{ i "ban" "w-4 h-4" }}
12 </span>
13 {{ end }}
14 <span class="shrink-0 text-gray-500 dark:text-gray-400">#{{ .IssueId }}</span>
15 <span class="truncate">
16 <a href="/{{ $repoUrl }}/issues/{{ .IssueId }}" class="no-underline hover:underline">{{- .Title -}}</a>
17 on
18 <a href="/{{ $repoUrl }}" class="no-underline hover:underline">{{ $repoUrl }}</a>
19 </span>
20 </div>
21{{ end }}