diff --git a/elixir/apps/web/lib/web/live/actors/index.ex b/elixir/apps/web/lib/web/live/actors/index.ex index 31d4c4fb6..f191a0d1a 100644 --- a/elixir/apps/web/lib/web/live/actors/index.ex +++ b/elixir/apps/web/lib/web/live/actors/index.ex @@ -102,7 +102,8 @@ defmodule Web.Actors.Index do navigate={~p"/#{@account}/actors/#{actor}?#groups"} class={[ "hover:underline hover:decoration-line", - "underline underline-offset-2 decoration-1 decoration-dotted" + "underline underline-offset-2 decoration-1 decoration-dotted", + link_style() ]} > <%= @actor_groups[actor.id].count %> @@ -137,19 +138,26 @@ defmodule Web.Actors.Index do <:item :let={client}> -
+ <.link navigate={~p"/#{@account}/clients/#{client}"} class="mr-2"> <.client_as_icon client={client} />
<.online_icon schema={client} />
-
+ <:tail :let={count}> - - and <%= count %> more. + + and + <.link + navigate={~p"/#{@account}/actors/#{actor}?#clients"} + class={["inline-flex ml-1", link_style()]} + > + <%= count %> more + + . diff --git a/elixir/apps/web/lib/web/live/clients/components.ex b/elixir/apps/web/lib/web/live/clients/components.ex index d6674bd99..1c27530d4 100644 --- a/elixir/apps/web/lib/web/live/clients/components.ex +++ b/elixir/apps/web/lib/web/live/clients/components.ex @@ -38,6 +38,12 @@ defmodule Web.Clients.Components do <:content>
<%= @client.name %> + <.icon + :if={not is_nil(@client.verified_at)} + name="hero-shield-check" + class="h-2.5 w-2.5 text-neutral-500" + title="Device attributes of this client are manually verified" + />
<.client_os_name_and_version client={@client} /> diff --git a/elixir/apps/web/lib/web/live/groups/index.ex b/elixir/apps/web/lib/web/live/groups/index.ex index 1ba614516..e4fe3683a 100644 --- a/elixir/apps/web/lib/web/live/groups/index.ex +++ b/elixir/apps/web/lib/web/live/groups/index.ex @@ -97,8 +97,15 @@ defmodule Web.Groups.Index do <:tail :let={count}> - - and <%= count %> more. + + and + <.link + navigate={~p"/#{@account}/groups/#{group}?#actors"} + class={["inline-flex ml-1", link_style()]} + > + <%= count %> more + + . diff --git a/elixir/apps/web/test/web/live/groups/index_test.exs b/elixir/apps/web/test/web/live/groups/index_test.exs index 6edb1c79b..927ca0ac0 100644 --- a/elixir/apps/web/test/web/live/groups/index_test.exs +++ b/elixir/apps/web/test/web/live/groups/index_test.exs @@ -145,7 +145,7 @@ defmodule Web.Live.Groups.IndexTest do all_names = Enum.map(actors, & &1.name) assert Enum.all?(peeked_names, &(&1 in all_names)) - assert tail == "7 more." + assert tail =~ "7 more" assert around_now?(row["created"]) end)