diff --git a/htdocs/web_portal/views/service_group/view_sgroup.php b/htdocs/web_portal/views/service_group/view_sgroup.php index 5112278c5..8624e482d 100644 --- a/htdocs/web_portal/views/service_group/view_sgroup.php +++ b/htdocs/web_portal/views/service_group/view_sgroup.php @@ -5,36 +5,75 @@ $showPD = $params['authenticated']; ?> - + +
- +
+

- Service Group: getName())?> + Service Group: getName()); ?>

- getDescription())?> + + + getDescription()); ?> +
- - + +
- - + + " + class="pencil" + />

Edit
+
- - - + + + +

Delete @@ -48,47 +87,102 @@
- Properties - + + Properties + + + - + + ?> + + getScopes() != null && $params['sGroup']->getScopes()->first() != null && - $params['sGroup']->getScopes()->first()->getName() == "Local") { - $style = " style=\"background-color: #A3D7A3;\""; } else { $style = ""; } + if ( + $params['sGroup']->getScopes() != null + && $params['sGroup']->getScopes()->first() != null + && ( + $params['sGroup']->getScopes()->first() + ->getName() == "Local" + ) + ) { + $style = " style=\"background-color: #A3D7A3;\""; + } else { + $style = ""; + } ?> - > + > +
Monitored - getMonitored()) { + + Monitored + + getMonitored()) { case true: ?> - + - +
- Scope Tags + Scope Tags - +
Contact E-Mail - - + + getEmail()); ?> - +
@@ -96,130 +190,274 @@
-
- Services - + -
+
- Users (Click on name to manage roles) - + + Users (Click on name to manage roles) + + + - - - - - + + + + +
Name Role
- - - getRoleType()->getName()); ?> -
+ + + getRoleType()->getName()); ?> +
- - + - - - - Request Role + + + + Request Role @@ -236,46 +474,89 @@ ?> -
- Recent Downtimes - (View all Downtimes) - +
+ + Recent Downtimes + + (View all Downtimes) + + + + foreach ($params['downtimes'] as $d) { + ?> - - - - - - "> + + + + +
Description From To
- - getDescription()) ?> - - getStartDate()->format($d::DATE_FORMAT) ?>getEndDate()->format($d::DATE_FORMAT) ?>
+ + getDescription()); ?> + + + getStartDate()->format($d::DATE_FORMAT); + ?> + + getEndDate()->format($d::DATE_FORMAT); + ?> +
- -
- - +