From 6c9668d870d330c14c0ff1f019ed7710aa53a5cf Mon Sep 17 00:00:00 2001 From: Adrien Maston Date: Thu, 26 Feb 2026 17:15:32 +0100 Subject: [PATCH] Style device list and empty state --- saas/app/views/devices/index.html.erb | 44 ++++++++++++++++++--------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/saas/app/views/devices/index.html.erb b/saas/app/views/devices/index.html.erb index 9e467731a..b9a3bfb35 100644 --- a/saas/app/views/devices/index.html.erb +++ b/saas/app/views/devices/index.html.erb @@ -1,16 +1,30 @@ -

Registered Devices

+<% @page_title = "Registered devices" %> -<% if @devices.any? %> - -<% else %> -

No devices registered. Install the mobile app to receive push notifications.

-<% end %> +
+ <% if @devices.any? %> +

+ Registered devices +

+ + <% else %> +

No devices registered

+

Install the mobile app to receive push notifications.

+ <% end %> + + <%= link_to session_menu_path, class: "btn center txt-small margin-block-start hide-on-native", data: { turbo_prefetch: false } do %> + Your Fizzy accounts + <% end %> +