diff --git a/src/web/pages/templates/_components/device_card.html.j2 b/src/web/pages/templates/_components/device_card.html.j2 index cc6c4f372..7477bc00b 100644 --- a/src/web/pages/templates/_components/device_card.html.j2 +++ b/src/web/pages/templates/_components/device_card.html.j2 @@ -29,9 +29,7 @@ Last active: {{ last_active }}
- {% if style == DeviceCardStyle::Detailed %} - Remove - {% else %} + {% if style != DeviceCardStyle::Detailed %} Details {% endif %}
diff --git a/src/web/pages/templates/device_info.html.j2 b/src/web/pages/templates/device_info.html.j2 index 476a7501b..9cedfc036 100644 --- a/src/web/pages/templates/device_info.html.j2 +++ b/src/web/pages/templates/device_info.html.j2 @@ -34,6 +34,7 @@ Device information {% endif %}

+ Remove this device {% if let Some((client_metadata, session_info)) = client_metadata %}
Client registration diff --git a/src/web/pages/templates/remove_device.html.j2 b/src/web/pages/templates/remove_device.html.j2 index 64eb3909c..d82006d3f 100644 --- a/src/web/pages/templates/remove_device.html.j2 +++ b/src/web/pages/templates/remove_device.html.j2 @@ -6,7 +6,7 @@ Remove a device {%- block content -%}
-

Remove a device Back

+

Remove a device Back

{% match body %} {% when RemoveDeviceBody::Form { device_card, last_device } %} {{ device_card }} @@ -25,8 +25,9 @@ Remove a device

{% endif %}
- +
+ {% when RemoveDeviceBody::Success %}

The device has been signed out successfully.