mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Merge pull request #1001 from GSA/878-invite-team-member-button
878 - Moved the invite team member button to a more obvious place on the page
This commit is contained in:
@@ -9,9 +9,19 @@
|
|||||||
|
|
||||||
{% block maincolumn_content %}
|
{% block maincolumn_content %}
|
||||||
|
|
||||||
<h1 class="font-body-lg">
|
<div class="display-flex flex-justify flex-align-center">
|
||||||
Team members
|
<h1 class="font-body-xl margin-0">
|
||||||
</h1>
|
Team members
|
||||||
|
</h1>
|
||||||
|
{% if current_user.has_permissions('manage_service') %}
|
||||||
|
{{ usaButton({
|
||||||
|
"element": "a",
|
||||||
|
"text": "Invite a team member",
|
||||||
|
"href": url_for('.invite_user', service_id=current_service.id),
|
||||||
|
"classes": "usa-button--outline"
|
||||||
|
}) }}
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
|
||||||
{% if show_search_box %}
|
{% if show_search_box %}
|
||||||
<div data-module="autofocus">
|
<div data-module="autofocus">
|
||||||
@@ -84,15 +94,4 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if current_user.has_permissions('manage_service') %}
|
|
||||||
<div class="js-stick-at-bottom-when-scrolling">
|
|
||||||
{{ usaButton({
|
|
||||||
"element": "a",
|
|
||||||
"text": "Invite a team member",
|
|
||||||
"href": url_for('.invite_user', service_id=current_service.id),
|
|
||||||
"classes": "usa-button"
|
|
||||||
}) }}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user