diff options
author | Alex Auvolat <alex@adnab.me> | 2018-10-12 16:38:11 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-10-12 16:38:11 +0200 |
commit | f5b4131160520a2540445619188c3c8e0f37da37 (patch) | |
tree | b966fbbe827a004caa65a87dfb8672754ce022ab /shardweb/lib/templates/page/peer_list.html.eex | |
parent | 0d358f6f699a5ce04ffe1bccf4f375b5f321391c (diff) | |
download | shard-f5b4131160520a2540445619188c3c8e0f37da37.tar.gz shard-f5b4131160520a2540445619188c3c8e0f37da37.zip |
Notifications for chat ; useless user info page
Diffstat (limited to 'shardweb/lib/templates/page/peer_list.html.eex')
-rw-r--r-- | shardweb/lib/templates/page/peer_list.html.eex | 7 |
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> |