summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-26 19:11:26 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-26 19:11:26 +0100
commit71a23be3d49ee82caecddbd787db9591fb87bd5e (patch)
treef6bd1977854061db56be2ff3eb4a1b7c19a7dc67 /includes
parent77273425f73491cd5a51bab5621f5213a7f56c1b (diff)
fade out for not arrived angels
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/user_shifts.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index 10d06e6c..f4e2de67 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -607,13 +607,10 @@ function view_user_shifts() {
$entry_list = array();
$freeloader = 0;
foreach ($entries as $entry) {
- if ($entry['Gekommen'] == 1)
- $style = "font-weight:bold;";
- else
- $style = "font-weight:normal;";
+ $style = '';
if ($entry['freeloaded']) {
$freeloader ++;
- $style .= " text-decoration: line-through;";
+ $style = " text-decoration: line-through;";
}
if (in_array('user_shifts_admin', $privileges))
$entry_list[] = "<span style=\"$style\">" . User_Nick_render($entry) . ' ' . table_buttons(array(