From 04062d5f2985c7fe8c0b2e3998a8886b5b99813b Mon Sep 17 00:00:00 2001 From: href Date: Tue, 7 Sep 2021 16:14:28 +0200 Subject: Fixes --- lib/lsg_web/context_plug.ex | 1 + lib/lsg_web/templates/alcoolog/index.html.eex | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/lsg_web/context_plug.ex b/lib/lsg_web/context_plug.ex index 29eab28..aaf851e 100644 --- a/lib/lsg_web/context_plug.ex +++ b/lib/lsg_web/context_plug.ex @@ -10,6 +10,7 @@ defmodule LSGWeb.ContextPlug do cond do get_session(conn, :account) -> get_session(conn, :account) get_session(conn, :oidc_id) -> if account = IRC.Account.find_meta_account("identity-id", get_session(conn, :oidc_id)), do: account.id + true -> nil end end diff --git a/lib/lsg_web/templates/alcoolog/index.html.eex b/lib/lsg_web/templates/alcoolog/index.html.eex index 3f522e9..263da95 100644 --- a/lib/lsg_web/templates/alcoolog/index.html.eex +++ b/lib/lsg_web/templates/alcoolog/index.html.eex @@ -151,12 +151,12 @@ _ -> {"gray-300", ""} <%= link("alcoolog global", to: alcoolog_path(@conn, :index)) %> <% end %> - + - - - + + + - -- cgit v1.2.3