summaryrefslogtreecommitdiff
path: root/includes/view/PublicDashboard_view.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-09-15 14:58:31 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2018-09-15 14:58:31 +0200
commitd0abc27c079f058c40a74b89e54bd21ba4aad53e (patch)
tree2d42f2a3c99d4a01930832c4e257bd550cbe9ac5 /includes/view/PublicDashboard_view.php
parent13d2786b7b51df927c8976dc767cc27e88bc8e84 (diff)
parent5456fea5031000a6325cdcae5f1e9d4c16b6ed50 (diff)
Merge remote-tracking branch 'MyIgel/translations'
Diffstat (limited to 'includes/view/PublicDashboard_view.php')
-rw-r--r--includes/view/PublicDashboard_view.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/includes/view/PublicDashboard_view.php b/includes/view/PublicDashboard_view.php
index 6fef8f54..2bfca3fa 100644
--- a/includes/view/PublicDashboard_view.php
+++ b/includes/view/PublicDashboard_view.php
@@ -23,7 +23,7 @@ function public_dashboard_view($stats, $free_shifts)
$shift_panels[] = '</div>';
$needed_angels = div('first', [
div('col-md-12', [
- heading(_('Needed angels:'), 1)
+ heading(__('Needed angels:'), 1)
]),
div('container-fluid', [
join($shift_panels)
@@ -34,10 +34,10 @@ function public_dashboard_view($stats, $free_shifts)
return page([
div('public-dashboard', [
div('first', [
- stats(_('Angels needed in the next 3 hrs'), $stats['needed-3-hours']),
- stats(_('Angels needed for nightshifts'), $stats['needed-night']),
- stats(_('Angels currently working'), $stats['angels-working'], 'default'),
- stats(_('Hours to be worked'), $stats['hours-to-work'], 'default'),
+ stats(__('Angels needed in the next 3 hrs'), $stats['needed-3-hours']),
+ stats(__('Angels needed for nightshifts'), $stats['needed-night']),
+ stats(__('Angels currently working'), $stats['angels-working'], 'default'),
+ stats(__('Hours to be worked'), $stats['hours-to-work'], 'default'),
'<script>
$(function() {
setInterval(function() {
@@ -52,8 +52,8 @@ function public_dashboard_view($stats, $free_shifts)
buttons([
button_js('
$(\'#navbar-collapse-1,#footer,#fullscreen-button\').remove();
- $(\'.navbar-brand\').append(\' ' . _('Public Dashboard') . '\');
- ', glyph('fullscreen') . _('Fullscreen'))
+ $(\'.navbar-brand\').append(\' ' . __('Public Dashboard') . '\');
+ ', glyph('fullscreen') . __('Fullscreen'))
])
], 'fullscreen-button')
]);