diff --git a/lib/cannery_web/components/user_card.ex b/lib/cannery_web/components/user_card.ex index d24b8081..ebd959fa 100644 --- a/lib/cannery_web/components/user_card.ex +++ b/lib/cannery_web/components/user_card.ex @@ -18,12 +18,18 @@ defmodule CanneryWeb.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 %>