aboutsummaryrefslogtreecommitdiff
path: root/shardweb
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-10-15 11:07:35 +0200
committerAlex Auvolat <alex@adnab.me>2018-10-15 11:07:35 +0200
commit7a9678843647de930885792149b279ef105f67b6 (patch)
tree64bd5cc0329669cc09e30c2e6fc5f6d6d1bbffe2 /shardweb
parent0f8acfa78bf101ed1c2ae993684b22de89d94bf7 (diff)
downloadshard-7a9678843647de930885792149b279ef105f67b6.tar.gz
shard-7a9678843647de930885792149b279ef105f67b6.zip
remove self link
Diffstat (limited to 'shardweb')
-rw-r--r--shardweb/lib/templates/layout/app.html.eex3
1 files changed, 0 insertions, 3 deletions
diff --git a/shardweb/lib/templates/layout/app.html.eex b/shardweb/lib/templates/layout/app.html.eex
index c6ebcd2..8d9924e 100644
--- a/shardweb/lib/templates/layout/app.html.eex
+++ b/shardweb/lib/templates/layout/app.html.eex
@@ -127,9 +127,6 @@
<!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav side-nav">
- <li class="<%= if @view_module == ShardWeb.IdentityView and @view_template == "self.html" do "active" else "" end %>">
- <a href="<%= identity_path(@conn, :self) %>"><i class="fa fa-fw fa-user"></i> <%= @nick %></a>
- </li>
<li class="<%= if @view_module == ShardWeb.ChatView and @view_template == "chat.html" and @public do "active" else "" end %>">
<a href="javascript:;" data-toggle="collapse" data-target="#demo"><i class="fa fa-fw fa-hashtag"></i> Chat rooms <i class="fa fa-fw fa-caret-down"></i></a>
<ul id="demo" class="<%= if not (@view_module == ShardWeb.ChatView and @view_template == "chat.html" and @public) do "collapse" else "" end %>">