mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-15 01:23:25 -05:00
Rename pending to invited
Pending is a bit of a technical word. Pending what? Invited is clear enough, and doesn’t introduce a new concept.
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
<span class="hint">
|
<span class="hint">
|
||||||
{%- if user.status == 'pending' -%}
|
{%- if user.status == 'pending' -%}
|
||||||
{{ user.email_address }} (pending)
|
{{ user.email_address }} (invited)
|
||||||
{%- elif user.status == 'cancelled' -%}
|
{%- elif user.status == 'cancelled' -%}
|
||||||
{{ user.email_address }} (cancelled invite)
|
{{ user.email_address }} (cancelled invite)
|
||||||
{%- elif user.email_address == current_user.email_address -%}
|
{%- elif user.email_address == current_user.email_address -%}
|
||||||
|
|||||||
@@ -462,7 +462,7 @@ def test_manage_users_shows_invited_user(
|
|||||||
|
|
||||||
assert page.h1.string.strip() == 'Team members'
|
assert page.h1.string.strip() == 'Team members'
|
||||||
assert normalize_spaces(page.select('.user-list-item')[1].text) == (
|
assert normalize_spaces(page.select('.user-list-item')[1].text) == (
|
||||||
'invited_user@test.gov.uk (pending) '
|
'invited_user@test.gov.uk (invited) '
|
||||||
'Can’t Send messages Can’t Add and edit templates Can’t Manage service Can Access API keys '
|
'Can’t Send messages Can’t Add and edit templates Can’t Manage service Can Access API keys '
|
||||||
'Cancel invitation'
|
'Cancel invitation'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user