mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 17:14:27 +00:00
20 lines
503 B
Handlebars
20 lines
503 B
Handlebars
|
{{if .dependencies}}
|
||
|
<p><strong>{{.title}}</strong></p>
|
||
|
<table class="ui single line very basic table">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th class="eleven wide">{{.root.i18n.Tr "packages.dependency.id"}}</th>
|
||
|
<th class="five wide">{{.root.i18n.Tr "packages.dependency.version"}}</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{{range .dependencies}}
|
||
|
<tr>
|
||
|
<td>{{.Name}}</td>
|
||
|
<td>{{range $i, $v := .Version}}{{if gt $i 0}}, {{end}}{{$v.Restriction}}{{$v.Version}}{{end}}</td>
|
||
|
</tr>
|
||
|
{{end}}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
{{end}}
|