@@ -46,7 +46,9 @@
<div class="col-lg mb-3 mb-lg-0">
<?php
- if(Core::$user->level >= User::LEVEL_ADMIN) {
+ $has_to_do = !empty($users_pending_verification) || !empty($tests_pending_verification);
+
+ if($has_to_do && Core::$user->level >= User::LEVEL_ADMIN) {
?>
<h3>To-Do</h3>
@@ -73,8 +75,6 @@
</div>
}
- ?>
- <?php