You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
gitea/templates/package/content/npm_dependencies.tmpl

19 lines
456 B

{{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 $dependency, $version := .dependencies}}
<tr>
<td>{{$dependency}}</td>
<td>{{$version}}</td>
</tr>
{{end}}
</tbody>
</table>
{{end}}