X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/5acb933e804db8f3ff7c71e66ef99ea95520547e..1c2cf98a7a062d53e6988f042da2530e1f5d172e:/time.php diff --git a/time.php b/time.php index 4042d7c5..33b57639 100644 --- a/time.php +++ b/time.php @@ -71,6 +71,7 @@ if ($user->isPluginEnabled('mq')){ $minutesLeft = ttTimeHelper::toMinutes($monthlyQuota) - ttTimeHelper::toMinutes($month_total); $smarty->assign('month_total', $month_total); + $smarty->assign('over_quota', $minutesLeft < 0); $smarty->assign('month_left', ttTimeHelper::fromMinutes($minutesLeft)); }