Files
Atay-Makhzan/templates/package/content/composer_dependencies.tmpl
T

20 lines
460 B
Handlebars
Raw Normal View History

2022-03-30 10:42:47 +02:00
{{if .dependencies}}
<p><strong>{{.title}}</strong></p>
<table class="ui single line very basic table">
<thead>
<tr>
2022-06-27 22:58:46 +02:00
<th class="eleven wide">{{.root.locale.Tr "packages.dependency.id"}}</th>
<th class="five wide">{{.root.locale.Tr "packages.dependency.version"}}</th>
2022-03-30 10:42:47 +02:00
</tr>
</thead>
<tbody>
{{range $dependency, $version := .dependencies}}
<tr>
<td>{{$dependency}}</td>
<td>{{$version}}</td>
</tr>
{{end}}
</tbody>
</table>
{{end}}