diff --git a/app/views/user-admin/_deactivated-users-notice.html b/app/views/user-admin/_deactivated-users-notice.html
new file mode 100644
index 00000000..c0e3097e
--- /dev/null
+++ b/app/views/user-admin/_deactivated-users-notice.html
@@ -0,0 +1,9 @@
+{# This should only be shown if there is more than 1 user deactivated due to inactivity #}
+{% set insetTextHtml %}
+
For security, we deactivate users who have not logged in for 90 days. Reactivate users (2)
+{% endset %}
+
+{{ insetText({
+ html: insetTextHtml,
+ classes: "nhsuk-u-margin-top-0"
+}) }}
diff --git a/app/views/user-admin/_search-filter.html b/app/views/user-admin/_search-filter.html
new file mode 100644
index 00000000..2f245249
--- /dev/null
+++ b/app/views/user-admin/_search-filter.html
@@ -0,0 +1,23 @@
+
+
+
diff --git a/app/views/user-admin/deactivated.html b/app/views/user-admin/deactivated.html
index e2ff6a4b..919065d6 100644
--- a/app/views/user-admin/deactivated.html
+++ b/app/views/user-admin/deactivated.html
@@ -19,30 +19,9 @@ Manage users
"href": "/user-admin/add-user"
}) }}
-
-
Information:
-
-
For security, we deactivate users who have not logged in for 90 days. Reactivate users (2)
-
-
-
-
-
+ {% include "user-admin/_deactivated-users-notice.html" %}
+ {% include "user-admin/_search-filter.html" %}
@@ -54,7 +33,7 @@
Manage users
-
3 Deactivated users
+
3 deactivated users
diff --git a/app/views/user-admin/index.html b/app/views/user-admin/index.html
index b33343c2..b936dfd1 100644
--- a/app/views/user-admin/index.html
+++ b/app/views/user-admin/index.html
@@ -32,40 +32,8 @@ Manage users
"href": "/user-admin/add-user"
}) }}
-
-
Information:
-
-
For security, we deactivate users who have not logged in for 90 days. Reactivate users (2)
-
-
-
-
-
-
-
-
-
-
+ {% include "user-admin/_deactivated-users-notice.html" %}
+ {% include "user-admin/_search-filter.html" %}
@@ -92,7 +60,7 @@
Manage users
Name
- Email address
+ Email
|
Vaccinator
diff --git a/app/views/user-admin/invited.html b/app/views/user-admin/invited.html
index 102f0bad..137ef9f2 100644
--- a/app/views/user-admin/invited.html
+++ b/app/views/user-admin/invited.html
@@ -18,33 +18,8 @@ Manage users
"href": "/user-admin/add-user"
}) }}
-
-
- Information:
-
- For security, we deactivate users who have not logged in for 90 days. Reactivate users (2)
-
-
-
-
-
-
-
-
+ {% include "user-admin/_deactivated-users-notice.html" %}
+ {% include "user-admin/_search-filter.html" %}
@@ -57,7 +32,7 @@ Manage users
- 4 Invited users
+ 4 invited users
@@ -70,7 +45,7 @@ Manage users
Email
- Clinician
+ Vaccinator
|
Permission
| |