summaryrefslogtreecommitdiffstats
path: root/templates/package/content/composer_dependencies.tmpl
blob: dba45750b7f7a68c46c1cfd24a2e66becc7d0f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{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}}