diff options
Diffstat (limited to 'shardweb/lib/templates/page/shard_list.html.eex')
-rw-r--r-- | shardweb/lib/templates/page/shard_list.html.eex | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ <tr> <th>Shard</th> <th>Id</th> - <th>Pid</th> + <th>State</th> </tr> - <%= for {id, manifest, pid} <- shard_list() do %> + <%= for {id, manifest, state} <- shard_list() do %> <tr> <td> <%= case manifest do %> <% %SApp.Identity.Manifest{pk: pk} -> %><i class="fa fa-user"></i> - <%= SApp.Identity.get_info(pid).nick %> + <%= SApp.Identity.get_nick(pk) %> <a href="<%= identity_path(@conn, :view, pk|>Base.encode16) %>"> <small><%= Shard.Keys.pk_display pk %></small> </a> @@ -50,7 +50,7 @@ <% end %> </td> <td><small><%= id |> Base.encode16 %></small></td> - <td><%= inspect(pid) %></td> + <td><%= inspect(state) %></td> </tr> <% end %> </table> |