Skip to content

Commit

Permalink
Add use count to system deps page
Browse files Browse the repository at this point in the history
  • Loading branch information
rkent committed Sep 25, 2024
1 parent c6f9ff9 commit 3722635
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _layouts/system_deps.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<a class="unselected-sort-label" href="{{site.baseurl}}/deps/page/1/name">Name</a>
{% endif %}
</th>
<th style="text-align: right;">Usage</th>
<th style="text-align: left;">Description</th>
{% for platform in site.data.common.platforms %}
<th style="text-align:left;" class="rotatel90">
Expand All @@ -36,10 +37,12 @@
{% assign dep_name = dep[0] %}
{% assign dep_details = dep[1].data_per_platform %}
{% assign dep_description = dep[1].description %}
{% assign dep_usage = dep[1].dependants_per_distro | size %}
<tr>
<td>
<a href="{{site.baseurl}}/d/{{dep_name}}">{{ dep_name }}</a>
</td>
<td style="text-align: right;">{{dep_usage}}</td>
<td>{{dep_description}}</td>
{% for p in site.data.common.platforms %}
{% assign platform = p[0] %}
Expand Down

0 comments on commit 3722635

Please sign in to comment.