diff --git a/inc/mod/pages.php b/inc/mod/pages.php index f28dfe27..aebaeadf 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -163,6 +163,8 @@ function mod_dashboard() { } $args['logout_token'] = make_secure_link_token('logout'); + + modLog('Looked at dashboard', false); mod_page(_('Dashboard'), 'mod/dashboard.html', $args); } diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html index 105f6376..5761c72c 100644 --- a/templates/mod/dashboard.html +++ b/templates/mod/dashboard.html @@ -1,4 +1,3 @@ -{{ mod.type }}
{% trans 'Boards' %} diff --git a/templates/mod/log.html b/templates/mod/log.html index 0aa3f110..40a646fd 100644 --- a/templates/mod/log.html +++ b/templates/mod/log.html @@ -6,7 +6,7 @@ {% trans 'Board' %} {% trans 'Action' %} - {% for log in logs %} + {% for log in logs if log.text != 'Looked at dashboard' %} {% if log.username %}