Add dashboard to header

This commit is contained in:
Bye 2024-07-05 12:05:01 +01:00
parent 539792e6fe
commit 5174c30cec

View file

@ -10,6 +10,7 @@
<?php
if ($_SESSION['auth']) {
echo '<div class="item">' . get_string("header.hello", ['display_name' => get_user_display_name($_SESSION['id'])]) . '</div>';
echo '<a class="item" href="/dashboard">' . get_string('page.dashboard') . '</a>';
echo '<div class="item"><a href="/auth/signout">'. get_string('auth.signout') .'</a></div>';
}
else {