summaryrefslogtreecommitdiff
path: root/includes/view/ShiftCalendarRenderer.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-11-24 12:01:19 +0100
committermsquare <msquare@notrademark.de>2017-11-24 12:01:19 +0100
commit928e707015fa5b9b3e2dd52c9493552ae1218911 (patch)
treeef7e9f297b9f3581361279cda45e46d0778b58c2 /includes/view/ShiftCalendarRenderer.php
parentd8476f244dd0ee1bccaab53f123fa12f2a9c9501 (diff)
add shift calendar to angeltype view
Diffstat (limited to 'includes/view/ShiftCalendarRenderer.php')
-rw-r--r--includes/view/ShiftCalendarRenderer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/ShiftCalendarRenderer.php b/includes/view/ShiftCalendarRenderer.php
index d2becb58..354d0336 100644
--- a/includes/view/ShiftCalendarRenderer.php
+++ b/includes/view/ShiftCalendarRenderer.php
@@ -143,7 +143,7 @@ class ShiftCalendarRenderer
public function render()
{
if (count($this->lanes) == 0) {
- return '';
+ return info(_('No shifts found.'), true);
}
return div('shift-calendar', [
$this->renderTimeLane(),