gitea

Development moved to Codeberg

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
{{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}}