From 574b572fac144135c4381581351445bf5d0de81c Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 12 Oct 2018 18:16:46 +0200 Subject: Clean up interface to shards --- shardweb/lib/templates/page/peer_list.html.eex | 4 ++-- shardweb/lib/templates/page/shard_list.html.eex | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'shardweb/lib/templates/page') diff --git a/shardweb/lib/templates/page/peer_list.html.eex b/shardweb/lib/templates/page/peer_list.html.eex index ff6479f..09060a7 100644 --- a/shardweb/lib/templates/page/peer_list.html.eex +++ b/shardweb/lib/templates/page/peer_list.html.eex @@ -10,7 +10,7 @@ Dashboard
  • - Peer list + Peer list
  • @@ -29,7 +29,7 @@ <%= case auth do %> - <% nil -> %>(anonymous) + <% nil -> %> (anonymous) <% %SNet.Auth{his_pk: his_pk} -> %> <%= SApp.Identity.get_nick(his_pk) %> diff --git a/shardweb/lib/templates/page/shard_list.html.eex b/shardweb/lib/templates/page/shard_list.html.eex index 012223a..cc23205 100644 --- a/shardweb/lib/templates/page/shard_list.html.eex +++ b/shardweb/lib/templates/page/shard_list.html.eex @@ -30,7 +30,7 @@ <%= case manifest do %> <% %SApp.Identity.Manifest{pk: pk} -> %> - <%= GenServer.call(pid, :get_info).nick %> + <%= SApp.Identity.get_info(pid).nick %> <%= Shard.Keys.pk_display pk %> -- cgit v1.2.3