To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit f9d2d80c authored by Reto Da Forno's avatar Reto Da Forno

minor adjustment to calendar tooltips

parent 5185f613
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
$events[] = array( $events[] = array(
'id' => $row['serv_tests_key'], 'id' => $row['serv_tests_key'],
'title' => 'Test ' . $row['serv_tests_key'] . ': ' . $row['title'], 'title' => 'Test ' . $row['serv_tests_key'] . ': ' . $row['title'],
'description' => $mini?'':'Test-ID: ' . $row['serv_tests_key'] . '<br/>Title: ' . $row['title'] . '<br/> Description: ' . $row['description'], 'description' => $mini?'':'Test-ID: ' . $row['serv_tests_key'] . '<br/>Duration: '.date("H:i", strtotime($row['time_start_act'])).' - '.date("H:i", strtotime($row['time_end_act'])).'<br/>Title: ' . $row['title'] . '<br/> Description: ' . $row['description'].'<br />Status: '.$row['test_status'],
'start' => $row['time_start_act'], 'start' => $row['time_start_act'],
'end' => $row['time_end_act'], 'end' => $row['time_end_act'],
'allDay' => false, 'allDay' => false,
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
$events[] = array( $events[] = array(
'id' => $row['serv_tests_key'], 'id' => $row['serv_tests_key'],
'title' => 'Test ' . $row['serv_tests_key'] . ': ' . $row['title'], 'title' => 'Test ' . $row['serv_tests_key'] . ': ' . $row['title'],
'description' => $mini?'':'Test-ID: ' . $row['serv_tests_key'] . '<br/>Title: ' . $row['title'] . '<br/> Description: ' . $row['description'], 'description' => $mini?'':'Test-ID: ' . $row['serv_tests_key'] . '<br/>Duration: '.date("H:i", strtotime($row['time_start_wish'])).' - '.date("H:i", strtotime($row['time_end_wish'])).'<br/>Title: ' . $row['title'] . '<br/> Description: ' . $row['description'].'<br />Status: '.$row['test_status'],
'start' => $row['time_start_wish'], 'start' => $row['time_start_wish'],
'end' => $row['time_end_wish'], 'end' => $row['time_end_wish'],
'allDay' => false, 'allDay' => false,
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
$event = array( $event = array(
'id' => $row['serv_tests_key'], 'id' => $row['serv_tests_key'],
'title' => $row['username'] . ' (' . $row['firstname'] . ' ' . $row['lastname'] . ')', 'title' => $row['username'] . ' (' . $row['firstname'] . ' ' . $row['lastname'] . ')',
'description' => $mini?'':'ID: ' . $row['serv_tests_key'] . '<br/>Title: ' . $row['title'] . '<br/> Description: ' . $row['description'] . '<br/> User: ' . $row['username'] . ' (' . $row['firstname'] . ' ' . $row['lastname'] . ')' . '<br/>Status: ' . $row['test_status'], 'description' => $mini?'':'ID: ' . $row['serv_tests_key'] . '<br/>Duration: '.date("H:i", strtotime($row['time_start_wish'])).' - '.date("H:i", strtotime($row['time_end_wish'])).'<br/>Title: ' . $row['title'] . '<br/> Description: ' . $row['description'] . '<br/> User: ' . $row['username'] . ' (' . $row['firstname'] . ' ' . $row['lastname'] . ')' . '<br/>Status: ' . $row['test_status'],
'allDay' => false, 'allDay' => false,
); );
if (isset($row['time_start_act'])) if (isset($row['time_start_act']))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment