Moved the button to a more obvious place on the page

This commit is contained in:
Jonathan Bobel
2023-12-12 15:39:16 -05:00
parent ec14996525
commit d35b490ee7
2 changed files with 17 additions and 22 deletions

View File

@@ -9,9 +9,19 @@
{% block maincolumn_content %}
<h1 class="font-body-lg">
Team members
</h1>
<div class="display-flex flex-justify flex-align-center">
<h1 class="font-body-xl margin-0">
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 %}
<div data-module="autofocus">
@@ -84,15 +94,4 @@
{% endfor %}
</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 %}