summaryrefslogtreecommitdiff
path: root/lib/lsg_web/templates/page/user.html.eex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsg_web/templates/page/user.html.eex')
-rw-r--r--lib/lsg_web/templates/page/user.html.eex5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/lsg_web/templates/page/user.html.eex b/lib/lsg_web/templates/page/user.html.eex
index 56fc485..6eeb39d 100644
--- a/lib/lsg_web/templates/page/user.html.eex
+++ b/lib/lsg_web/templates/page/user.html.eex
@@ -1,6 +1,9 @@
<div class="prose prose-lg">
<ul>
- <li><%= link("Help", to: "/-") %></li>
+ <li><%= link("Help", to: "/-") %></li>
+ <%= unless List.keyfind(@metas, "identity-id", 0) do %>
+ <li><%= link("Connect with random.sh", to: Routes.open_id_path(@conn, :login)) %></li>
+ <% end %>
</ul>
<h2>channels</h2>