diff options
author | msquare <msquare@notrademark.de> | 2019-08-19 10:20:44 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2019-08-19 10:20:44 +0200 |
commit | 53ec14b9c492a0607d834d17aab4b4597e24a214 (patch) | |
tree | 6174cc13527a3ae9f54ef43553a0f55e155de8b9 /includes | |
parent | 7d82103762591e66580bf0b5c3cfd94ba1ada6f4 (diff) |
better bar min calculation
Diffstat (limited to 'includes')
-rw-r--r-- | includes/view/Shifts_view.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php index 9e22d8a7..0c15b159 100644 --- a/includes/view/Shifts_view.php +++ b/includes/view/Shifts_view.php @@ -197,7 +197,7 @@ function Shift_view_render_needed_angeltype($needed_angeltype, $angeltypes, $shi $needed_angels .= '<h3>' . AngelType_name_render($angeltype) . '</h3>'; $bar_max = max($needed_angeltype['count'] * 10, $needed_angeltype['taken'] * 10, 10); - $bar_value = max($bar_max/5, $needed_angeltype['taken'] * 10); + $bar_value = max($bar_max/10, $needed_angeltype['taken'] * 10); $needed_angels .= progress_bar( 0, $bar_max, |