summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/view/PublicDashboard_view.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/includes/view/PublicDashboard_view.php b/includes/view/PublicDashboard_view.php
index 1325d31a..27ae97e3 100644
--- a/includes/view/PublicDashboard_view.php
+++ b/includes/view/PublicDashboard_view.php
@@ -56,15 +56,20 @@ function public_dashborad_shift_render($shift)
foreach ($shift['NeedAngels'] as $needed_angels) {
$need = $needed_angels['count'] - $needed_angels['taken'];
if ($need > 0) {
- $panel_body .= '<br>' . glyph('user') . $need . ' &times; ' . AngelType($needed_angels['TID'])['name'];
+ $panel_body .=
+ '<br>' . glyph('user') .
+ '<span class="text-' . $style . '">' .
+ $need . ' &times; ' . AngelType($needed_angels['TID'])['name'] .
+ '</span>';
}
}
- $panel_body = '<a href="' . shift_link($shift) . '">' . $panel_body . '</a>';
+ // $panel_body = '<a href="' . shift_link($shift) . '">' . $panel_body . '</a>';
return div('col-xs-3', [
- div('panel panel-' . $style, [
+ div('dashboard-panel panel panel-' . $style, [
div('panel-body', [
+ '<a class="panel-link" href="' . shift_link($shift) . '"></a>',
heading($panel_body, 4)
])
])