Skip to content

Commit

Permalink
Show info about releases only to leads.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Apr 21, 2021
1 parent 9c6346f commit 5a20592
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jazzband/templates/projects/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,16 @@ <h3>Members</h3>
<h3>Uploads</h3>
<p>
There are currently
<b>{{ uploads.count() }} uploads</b> for {{ project.name }}, with
<b>{{ uploads.count() }} project uploads</b> for {{ project.name }}, with
<b>{{ uploads.filter_by(released_at=None).count() }} unreleased</b>.
</p>
{% if project.current_user_is_lead %}
<p>
Please see the uploads overview below for more details and the
ability to either delete or release them to
<a href="https://pypi.org/">PyPI</a>.
</p>
{% endif %}
<div class="admonition">
<p class="admonition-title">How do releases work?</p>
<p>
Expand Down

0 comments on commit 5a20592

Please sign in to comment.