aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/templates/directory
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-11-02 11:22:28 +0100
committerAlex Auvolat <alex@adnab.me>2018-11-02 11:22:28 +0100
commit3baa53f1da7f581619b066832b8303efbe9a46ba (patch)
treed6b49bd09fa915b93e13f3a03febc7fb1b38e9a4 /shardweb/lib/templates/directory
parent80200dc43f271938fb14ec4eb4712e8dd7375aeb (diff)
downloadshard-3baa53f1da7f581619b066832b8303efbe9a46ba.tar.gz
shard-3baa53f1da7f581619b066832b8303efbe9a46ba.zip
Remove friends list ; add some links
Diffstat (limited to 'shardweb/lib/templates/directory')
-rw-r--r--shardweb/lib/templates/directory/view.html.eex9
1 files changed, 9 insertions, 0 deletions
diff --git a/shardweb/lib/templates/directory/view.html.eex b/shardweb/lib/templates/directory/view.html.eex
index b981391..43ded97 100644
--- a/shardweb/lib/templates/directory/view.html.eex
+++ b/shardweb/lib/templates/directory/view.html.eex
@@ -7,6 +7,15 @@
</h1>
<ol class="breadcrumb">
+ <li>
+ <i class="fa fa-users"></i> Users
+ </li>
+ <li>
+ <i class="fa fa-user"></i> <%= @owner |> SApp.Identity.get_nick %>
+ <a href="<%= identity_path(@conn, :view, @owner |> Base.encode16) %>">
+ <small><%= @owner |> Shard.Keys.pk_display %></small>
+ </a>
+ </li>
<li class="active">
<i class="fa fa-folder"></i> <%= @name %>
</li>