|
|
|
@ -94,7 +94,7 @@ |
|
|
|
|
</div> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
<% session = Explorer.Account.enabled?() && Plug.Conn.get_session(@conn, :current_user) %> |
|
|
|
|
<% session = Explorer.Account.enabled?() && Map.get(@conn.private, :plug_session) && Plug.Conn.get_session(@conn, :current_user) %> |
|
|
|
|
<%= render BlockScoutWeb.LayoutView, "_topnav.html", current_user: session, conn: @conn %> |
|
|
|
|
<%= if session && !session[:email_verified] do %> |
|
|
|
|
<p class="alert alert-warning" role="alert" style="margin-bottom: 0"><%= gettext("Please confirm your email address to use the My Account feature.") %> <%= gettext("A confirmation email was sent to") %> <a href="mailto:<%= session[:email] %>"><%=session[:email] %></a> <%= gettext "on sign up. Didn’t receive?" %> <a href="/api/account/v2/email/resend" class="ajax"><%= gettext "Resend verification email" %></a>.</p> |
|
|
|
|