diff --git a/lib/lokal_web/components/user_card.ex b/lib/lokal_web/components/user_card.ex index 8fad8b85..f78c3cab 100644 --- a/lib/lokal_web/components/user_card.ex +++ b/lib/lokal_web/components/user_card.ex @@ -18,12 +18,18 @@ defmodule LokalWeb.Components.UserCard do
User was confirmed at
- <%= @user.confirmed_at |> display_datetime() %> - <% end %> ++ <%= if @user.confirmed_at |> is_nil() do %> + Email unconfirmed + <% else %> + User was confirmed at <%= @user.confirmed_at |> display_datetime() %> + <% end %> +
+ ++ <%= gettext("User registered on") %> + <%= @user.inserted_at |> display_datetime() %> +
<%= if @inner_block do %>