diff --git a/atst/utils/flash.py b/atst/utils/flash.py index d0c812d4..5fbad688 100644 --- a/atst/utils/flash.py +++ b/atst/utils/flash.py @@ -40,7 +40,7 @@ MESSAGES = { "category": "error", }, "application_invite_resent": { - "title_template": "Application invitation revoked", + "title_template": "Application invitation resent", "message_template": "You have successfully resent the invite for {{ user_name }} from {{ application_name }}", "category": "success", }, diff --git a/templates/fragments/members.html b/templates/fragments/members.html index 041637f4..96ff7f66 100644 --- a/templates/fragments/members.html +++ b/templates/fragments/members.html @@ -17,13 +17,16 @@ ) %} + + +
+ {{ 'portfolios.applications.settings.team_members' | translate }} +
+ {% if g.matchesPath("application-members") %} {% include "fragments/flash.html" %} {% endif %} -
- {{ 'portfolios.applications.settings.team_members' | translate }} -
{% if not application.members %}
@@ -87,7 +90,7 @@ {{ member.update_invite_form.csrf_token }} {{ member_fields.InfoFields(member.update_invite_form) }}
- {{ SaveButton(text='Resend Invite', element='input', additional_classes='action-group__action') }} + {{ "common.cancel" | translate }}
@@ -113,7 +116,7 @@ {%- endif %} {% endfor %} -
+