fade out for not arrived angels

This commit is contained in:
Philip Häusler 2014-12-26 19:11:26 +01:00
parent 77273425f7
commit 71a23be3d4
1 changed files with 2 additions and 5 deletions

View File

@ -607,13 +607,10 @@ function view_user_shifts() {
$entry_list = array(); $entry_list = array();
$freeloader = 0; $freeloader = 0;
foreach ($entries as $entry) { foreach ($entries as $entry) {
if ($entry['Gekommen'] == 1) $style = '';
$style = "font-weight:bold;";
else
$style = "font-weight:normal;";
if ($entry['freeloaded']) { if ($entry['freeloaded']) {
$freeloader ++; $freeloader ++;
$style .= " text-decoration: line-through;"; $style = " text-decoration: line-through;";
} }
if (in_array('user_shifts_admin', $privileges)) if (in_array('user_shifts_admin', $privileges))
$entry_list[] = "<span style=\"$style\">" . User_Nick_render($entry) . ' ' . table_buttons(array( $entry_list[] = "<span style=\"$style\">" . User_Nick_render($entry) . ' ' . table_buttons(array(