{{ define "title" }}issues · {{ .RepoInfo.FullName }}{{ end }} {{ define "extrameta" }} {{ $title := "issues"}} {{ $url := printf "https://tangled.org/%s/issues" .RepoInfo.FullName }} {{ template "repo/fragments/og" (dict "RepoInfo" .RepoInfo "Title" $title "Url" $url) }} {{ end }} {{ define "repoContent" }}
{{ i "circle-dot" "w-4 h-4" }} {{ .RepoInfo.Stats.IssueCount.Open }} open {{ i "ban" "w-4 h-4" }} {{ .RepoInfo.Stats.IssueCount.Closed }} closed
{{ i "circle-plus" "w-4 h-4" }} new
{{ end }} {{ define "repoAfter" }}
{{ template "repo/issues/fragments/issueListing" (dict "Issues" .Issues "RepoPrefix" .RepoInfo.FullName "LabelDefs" .LabelDefs) }}
{{ block "pagination" . }} {{ end }} {{ end }} {{ define "pagination" }}
{{ $currentState := "closed" }} {{ if .FilteringByOpen }} {{ $currentState = "open" }} {{ end }} {{ if gt .Page.Offset 0 }} {{ $prev := .Page.Previous }} {{ i "chevron-left" "w-4 h-4" }} previous {{ else }}
{{ end }} {{ if eq (len .Issues) .Page.Limit }} {{ $next := .Page.Next }} next {{ i "chevron-right" "w-4 h-4" }} {{ end }}
{{ end }}