Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix bug with tutorial hints
- Loading branch information
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<%= unless @current_user.email_verified_at do %> | ||
<div class="alert alert--tutorial"> | ||
You will be able to <strong>receive notifications about updates via email</strong>.<br> | ||
Verify your email by clicking the link we sent you (<a href="/settings">check email settings</a>). | ||
</div> | ||
<%= if logged_in?(@conn) do %> | ||
<%= if !current_user(@conn).email_verified_at do %> | ||
<div class="alert alert--tutorial"> | ||
You will be able to <strong>receive notifications about updates via email</strong>.<br> | ||
Verify your email by clicking the link we sent you (<a href="/settings">check email settings</a>). | ||
</div> | ||
<% end %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters