mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 14:04:10 +02:00
add member button hidden when user does not have permission
This commit is contained in:
parent
5c305c8557
commit
78a0852223
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
<div class="mobile:grid-col-12 tablet:grid-col-6">
|
<div class="mobile:grid-col-12 tablet:grid-col-6">
|
||||||
<h1 id="members-header">Members</h1>
|
<h1 id="members-header">Members</h1>
|
||||||
</div>
|
</div>
|
||||||
|
{% if has_edit_members_portfolio_permission %}
|
||||||
<div class="mobile:grid-col-12 tablet:grid-col-6">
|
<div class="mobile:grid-col-12 tablet:grid-col-6">
|
||||||
<p class="float-right-tablet tablet:margin-y-0">
|
<p class="float-right-tablet tablet:margin-y-0">
|
||||||
<a href="#" class="usa-button"
|
<a href="#" class="usa-button"
|
||||||
|
@ -26,6 +27,7 @@
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include "includes/members_table.html" with portfolio=portfolio %}
|
{% include "includes/members_table.html" with portfolio=portfolio %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue