From 8c49dd71d29359447c24b1cd4f48a8faf0c4fdca Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 15 Oct 2018 12:18:05 +0200 Subject: Refactor shard starting/stopping --- shardweb/lib/templates/page/shard_list.html.eex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shardweb/lib/templates/page') diff --git a/shardweb/lib/templates/page/shard_list.html.eex b/shardweb/lib/templates/page/shard_list.html.eex index cc23205..27f70b4 100644 --- a/shardweb/lib/templates/page/shard_list.html.eex +++ b/shardweb/lib/templates/page/shard_list.html.eex @@ -23,14 +23,14 @@ Shard Id - Pid + State - <%= for {id, manifest, pid} <- shard_list() do %> + <%= for {id, manifest, state} <- shard_list() do %> <%= case manifest do %> <% %SApp.Identity.Manifest{pk: pk} -> %> - <%= SApp.Identity.get_info(pid).nick %> + <%= SApp.Identity.get_nick(pk) %> <%= Shard.Keys.pk_display pk %> @@ -50,7 +50,7 @@ <% end %> <%= id |> Base.encode16 %> - <%= inspect(pid) %> + <%= inspect(state) %> <% end %> -- cgit v1.2.3