summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-22 20:18:34 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-22 20:18:34 +0100
commit342b79ff3fbd4250aad427846a0a2121c2c7ad0d (patch)
tree862e15fc7950d140564dac00091987e4b8ee7086 /includes/view
parent2d587478a1094969fbb44bde29b34b034868db70 (diff)
more fixes
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/User_view.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index 59456946..a7d77b19 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -99,6 +99,8 @@ function User_view($user_source, $admin_user_privilege, $freeloader, $user_angel
$timesum = 0;
foreach ($shifts as $shift) {
$shift_info = '<a href="' . shift_link($shift) . '">' . $shift['name'] . '</a>';
+ if ($shift['title'])
+ $shift_info .= '<br /><a href="' . shift_link($shift) . '">' . $shift['title'] . '</a>';
foreach ($shift['needed_angeltypes'] as $needed_angel_type) {
$shift_info .= '<br><b>' . $needed_angel_type['name'] . ':</b> ';