{% if current_user.username == None %}
  <div class="card card-block mt-4">
    <h4 class="card-title">Sign up</h4>
    <h6 class="card-subtitle mb-3 text-muted">Create a profile to save your progress.</h6>
    <a class="btn btn-lg btn-success mb-2" href="{{ url_for('auth.register') }}" role="button">Create a profile</a>
    <a class="btn btn-lg btn-primary" href="{{ url_for('auth.login') }}" role="button">
      Sign in
    </a>
  </div>
{% endif %}

{% if (current_user.is_authenticated and current_user.username != None) %}
  {% if not current_user.confirmed %}
  <div class="card card-block mt-4">
    <h4 class="card-title">Confirm your account</h4>
    <h6 class="card-subtitle mb-3 text-muted">
      We'll send you an email with a link to confirm your account.
    </h6>
    <a class="btn btn-lg btn-success mb-2" href="{{ url_for('auth.resend_confirmation') }}" role="button">Confirm account</a>
    <a class="btn btn-lg btn-primary" href="{{ url_for('auth.change_email_request') }}" role="button">
      Change email address
    </a>
  </div>
  {% endif %}
{% else %}
  <div class="card card-block mt-4">
    <h4 class="card-title">Sign up</h4>
    <h6 class="card-subtitle mb-3 text-muted">Create a profile to save your progress.</h6>
    <a class="btn btn-lg btn-success mb-2" href="{{ url_for('auth.register') }}" role="button">Create a profile</a>
    <a class="btn btn-lg btn-primary" href="{{ url_for('auth.login') }}" role="button">Sign in</a>
  </div>
{% endif %}

Add account confirmation buttons to dashboard
Add account confirmation buttons to dashboard
