aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/templates/identity
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-11-05 16:03:56 +0100
committerAlex Auvolat <alex@adnab.me>2018-11-05 16:03:56 +0100
commit0e5b82f3348508eb7f4291a08722522a49edd752 (patch)
tree40bf4c9aa8d5b1920369c176665f5a4e7285de55 /shardweb/lib/templates/identity
parent0b27af3dab56b667b50fd80590cdfd9df0feffbd (diff)
downloadshard-0e5b82f3348508eb7f4291a08722522a49edd752.tar.gz
shard-0e5b82f3348508eb7f4291a08722522a49edd752.zip
Facilitate file sending in chat0.0.4
Diffstat (limited to 'shardweb/lib/templates/identity')
-rw-r--r--shardweb/lib/templates/identity/view.html.eex4
1 files changed, 2 insertions, 2 deletions
diff --git a/shardweb/lib/templates/identity/view.html.eex b/shardweb/lib/templates/identity/view.html.eex
index c81caf6..cc58ed5 100644
--- a/shardweb/lib/templates/identity/view.html.eex
+++ b/shardweb/lib/templates/identity/view.html.eex
@@ -20,10 +20,10 @@
<%= render ShardWeb.LayoutView, "flashes.html", assigns %>
<%= if @view_pk != @pk do %>
- <a class="btn btn-s btn-primary" href="<%= chat_path(@conn, :privchat, @pk |> Base.encode16) %>"><i class="fa fa-comments"></i> PM</a>
+ <a class="btn btn-s btn-primary" href="<%= chat_path(@conn, :privchat, @view_pk |> Base.encode16) %>"><i class="fa fa-comments"></i> PM</a>
<% end %>
- <a class="btn btn-s btn-success" href="<%= directory_path(@conn, :view_pub, @pk |> Base.encode16, "collection") %>"><i class="fa fa-folder"></i> Public stuff</a>
+ <a class="btn btn-s btn-success" href="<%= directory_path(@conn, :view_pub, @view_pk |> Base.encode16, "collection") %>"><i class="fa fa-folder"></i> Public stuff</a>
<pre>
<%= inspect(SApp.Identity.get_info(@pid), pretty: true, width: 40) %>