add member button hidden when user does not have permission

This commit is contained in:
David Kennedy 2024-10-11 11:23:42 -04:00
parent 5c305c8557
commit 78a0852223
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -18,6 +18,7 @@
<div class="mobile:grid-col-12 tablet:grid-col-6">
<h1 id="members-header">Members</h1>
</div>
{% if has_edit_members_portfolio_permission %}
<div class="mobile:grid-col-12 tablet:grid-col-6">
<p class="float-right-tablet tablet:margin-y-0">
<a href="#" class="usa-button"
@ -26,6 +27,7 @@
</a>
</p>
</div>
{% endif %}
</div>
{% include "includes/members_table.html" with portfolio=portfolio %}