#17 show warning if no primary mail is set

This commit is contained in:
Kekskurse 2019-04-30 14:35:40 +02:00
parent ecd0577ae2
commit c18ce8f443

View file

@ -79,4 +79,15 @@
</ul>
<?php } ?>
</div>
</nav>
</nav>
<?php
if(!is_null($user) && $user->getMail() == null) {
?>
<div class="row">
<div class="col-md-12">
<div class="alert alert-warning" role="alert">
Your E-Mail adress is not validated, please check your mails and click on the link to validate your E-Mail.
</div>
</div>
</div>
<?php } ?>