summaryrefslogtreecommitdiff
path: root/includes/view/PublicDashboard_view.php
diff options
context:
space:
mode:
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')
]);