Skip to content

Commit

Permalink
Template fix to show only active builds (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt authored Apr 27, 2023
1 parent 5540e33 commit 2b7462b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spkrepo/templates/frontend/package.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ <h1 class="media-heading">{{ package.versions[-1].displaynames['enu'].displaynam
DSM {{ version }}.x:
{% endif %}
{% for build in builds %}
{% if build.active %}
{% for arch in build.architectures %}
<a href="{{ url_for('nas.data', path=build.path) }}"><span class="label label-default">{{ build.firmware.version }} {{ arch.code }}</span></a>
{% endfor %}
{% endif %}
{% endfor %}
<br/>
{% endfor %}
Expand Down

0 comments on commit 2b7462b

Please sign in to comment.