mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 09:46:06 +02:00
Delete permission settings around "add member" button
This commit is contained in:
parent
21227453aa
commit
64e623ea97
1 changed files with 0 additions and 9 deletions
|
@ -15,16 +15,10 @@
|
||||||
|
|
||||||
<div id="main-content">
|
<div id="main-content">
|
||||||
<div class="grid-row grid-gap">
|
<div class="grid-row grid-gap">
|
||||||
{% if has_edit_request_portfolio_permission %}
|
|
||||||
<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>
|
||||||
<div class="mobile:grid-col-12 tablet:grid-col-6">
|
<div class="mobile:grid-col-12 tablet:grid-col-6">
|
||||||
{% comment %}
|
|
||||||
IMPORTANT:
|
|
||||||
If this button is added on any other page, make sure to update the
|
|
||||||
relevant view to reset request.session["new_request"] = True
|
|
||||||
{% endcomment %}
|
|
||||||
<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"
|
||||||
>
|
>
|
||||||
|
@ -32,9 +26,6 @@
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
|
||||||
<p class="margin-y-0">Members can only be modified by users with edit permissions.</p>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include "includes/members_table.html" with portfolio=portfolio portfolio_members_count=portfolio_members_count %}
|
{% include "includes/members_table.html" with portfolio=portfolio portfolio_members_count=portfolio_members_count %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue