aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/templates/page/peer_list.html.eex
diff options
context:
space:
mode:
Diffstat (limited to 'shardweb/lib/templates/page/peer_list.html.eex')
-rw-r--r--shardweb/lib/templates/page/peer_list.html.eex7
1 files changed, 6 insertions, 1 deletions
diff --git a/shardweb/lib/templates/page/peer_list.html.eex b/shardweb/lib/templates/page/peer_list.html.eex
index f385528..ff6479f 100644
--- a/shardweb/lib/templates/page/peer_list.html.eex
+++ b/shardweb/lib/templates/page/peer_list.html.eex
@@ -30,7 +30,12 @@
<td>
<%= case auth do %>
<% nil -> %>(anonymous)
- <% %SNet.Auth{his_pk: his_pk} -> %> <%= Shard.Keys.pk_display(his_pk) %>
+ <% %SNet.Auth{his_pk: his_pk} -> %>
+ <i class="fa fa-user"></i>
+ <%= SApp.Identity.get_nick(his_pk) %>
+ <a href="<%= identity_path(@conn, :view, his_pk|>Base.encode16) %>">
+ <small><%= Shard.Keys.pk_display(his_pk) %></small>
+ </a>
<% end %>
</td>
<td><%= :inet_parse.ntoa(ip) %></td>