mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-30 14:09:42 -05:00
597b04fe2f
Backport #27231 #27259 manually --------- Co-authored-by: delvh <dev.lh@web.de>
19 lines
456 B
Go HTML Template
19 lines
456 B
Go HTML Template
{{if .dependencies}}
|
|
<p><strong>{{.title}}</strong></p>
|
|
<table class="ui single line very basic table">
|
|
<thead>
|
|
<tr>
|
|
<th class="eleven wide">{{ctx.Locale.Tr "packages.dependency.id"}}</th>
|
|
<th class="five wide">{{ctx.Locale.Tr "packages.dependency.version"}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{range $dependency, $version := .dependencies}}
|
|
<tr>
|
|
<td>{{$dependency}}</td>
|
|
<td>{{$version}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</tbody>
|
|
</table>
|
|
{{end}}
|