aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/templates/identity
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-10-12 18:16:46 +0200
committerAlex Auvolat <alex@adnab.me>2018-10-12 18:16:46 +0200
commit574b572fac144135c4381581351445bf5d0de81c (patch)
tree1ad2fa0157583a955069332e6a957250ff362967 /shardweb/lib/templates/identity
parent7bc609a85b43ed86eccb9cd40d9db31f15aaba1d (diff)
downloadshard-574b572fac144135c4381581351445bf5d0de81c.tar.gz
shard-574b572fac144135c4381581351445bf5d0de81c.zip
Clean up interface to shards0.0.3
Diffstat (limited to 'shardweb/lib/templates/identity')
-rw-r--r--shardweb/lib/templates/identity/list.html.eex2
-rw-r--r--shardweb/lib/templates/identity/view.html.eex2
2 files changed, 2 insertions, 2 deletions
diff --git a/shardweb/lib/templates/identity/list.html.eex b/shardweb/lib/templates/identity/list.html.eex
index 6437f9c..19dba2d 100644
--- a/shardweb/lib/templates/identity/list.html.eex
+++ b/shardweb/lib/templates/identity/list.html.eex
@@ -25,7 +25,7 @@
</tr>
<%= for {_id, manifest, pid} <- people_list() do %>
<tr>
- <td><i class="fa fa-user"></i> <%= GenServer.call(pid, :get_info).nick %>
+ <td><i class="fa fa-user"></i> <%= SApp.Identity.get_info(pid).nick %>
<%= if manifest.pk == @pk do %>
<span class="badge badge-success"><i class="fa fa-user"></i> myself</span>
<% end %>
diff --git a/shardweb/lib/templates/identity/view.html.eex b/shardweb/lib/templates/identity/view.html.eex
index 8bb8ca2..58be7e7 100644
--- a/shardweb/lib/templates/identity/view.html.eex
+++ b/shardweb/lib/templates/identity/view.html.eex
@@ -19,7 +19,7 @@
<%= render ShardWeb.LayoutView, "flashes.html", assigns %>
<pre>
- <%= inspect((GenServer.call(@pid, :get_info)), pretty: true, width: 40) %>
+ <%= inspect(SApp.Identity.get_info(@pid), pretty: true, width: 40) %>
</pre>