gitea/templates/shared/issue_dependency.tmpl
2024-03-08 19:06:55 +08:00

13 lines
442 B
Handlebars

{{if and .DependenciesMap (index .DependenciesMap .ID)}}
<div class="flex-text-inline gt-gap-0">
<strong class="gt-mr-2">{{.Title}}</strong>
{{$first := true}}
{{range (index .DependenciesMap .ID)}}
{{if not $first}}<span class="gt-mr-2">,</span>{{end}}
{{$first = false}}
<a href="{{.Issue.Link}}" data-tooltip-content="#{{.Issue.Index}} {{.Issue.Title | RenderEmoji $.Context}}">
#{{.Issue.Index}}
</a>
{{end}}
</div>
{{end}}