aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/templates/identity/view.html.eex
blob: c5dfaf2a4445280d9a4bc46b5c1f8572d8b371d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!-- Page Heading -->
<div class="row">
  <div class="col-lg-12">
    <h1 class="page-header">
      <%= @view_nick %>
      <small class="shard_uri"><%= @manifest |> ShardURI.from_manifest %></small>
    </h1>
    <ol class="breadcrumb">
      <li>
        <i class="fa fa-users"></i> People
      </li>
      <li class="active">
        <i class="fa fa-user"></i> <%= @view_nick %>
      </li>
    </ol>
  </div>
</div>
<!-- /.row -->

<%= 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>
<% end %>

<pre>
  <%= inspect(SApp.Identity.get_info(@pid), pretty: true, width: 40) %>
</pre>