diff options
Diffstat (limited to 'shardweb/lib/templates/page')
-rw-r--r-- | shardweb/lib/templates/page/peer_list.html.eex | 4 | ||||
-rw-r--r-- | shardweb/lib/templates/page/shard_list.html.eex | 2 |
2 files changed, 3 insertions, 3 deletions
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 @@ <i class="fa fa-dashboard"></i> Dashboard </li> <li class="active"> - <i class="fa fa-globe"></i> Peer list + <i class="fa fa-server"></i> Peer list </li> </ol> </div> @@ -29,7 +29,7 @@ <tr> <td> <%= case auth do %> - <% nil -> %>(anonymous) + <% nil -> %><i class="fa fa-globe"></i> (anonymous) <% %SNet.Auth{his_pk: his_pk} -> %> <i class="fa fa-user"></i> <%= 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 @@ <td> <%= case manifest do %> <% %SApp.Identity.Manifest{pk: pk} -> %><i class="fa fa-user"></i> - <%= GenServer.call(pid, :get_info).nick %> + <%= SApp.Identity.get_info(pid).nick %> <a href="<%= identity_path(@conn, :view, pk|>Base.encode16) %>"> <small><%= Shard.Keys.pk_display pk %></small> </a> |