Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
Add a button to request approveacls per branch
Browse files Browse the repository at this point in the history
Fixes #210
  • Loading branch information
pypingou committed Oct 8, 2015
1 parent aa3c3c9 commit 69c85a0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkgdb2/templates/package.html
Expand Up @@ -394,13 +394,17 @@ <h4 title="`approveacls` ACL">Package Administrator(s)</h4>
</form>
</li>
{% endif %}
{% if g.fas_user.username in admins or is_admin %}
{% if g.fas_user %}
<li>
<a href="{{ url_for('.update_acl',package=package.name,
update_acl='approveacls') }}"
title="Manage commit ACLs">
title="Manage approveacls ACLs">
<button class="bold pkg_button_blue inline wheel">
Manage the admins
{% if g.fas_user.username in admins or is_admin%}
Manage the admins
{% else %}
Request Approveacls
{% endif %}
</button>
</a>
</li>
Expand Down

0 comments on commit 69c85a0

Please sign in to comment.