diff --git a/application/views/scripts/group/show.phtml b/application/views/scripts/group/show.phtml index 636a449d4..8c8c91f51 100644 --- a/application/views/scripts/group/show.phtml +++ b/application/views/scripts/group/show.phtml @@ -30,8 +30,12 @@ if ($this->hasPermission('config/authentication/groups/edit') && $backend instan
= $this->escape($group->group_name); ?>
= $editLink; ?>= $this->translate('Created at'); ?>: = $group->created_at === null ? '-' : $this->formatDateTime($group->created_at); ?>
-= $this->translate('Last modified'); ?>: = $group->last_modified === null ? '-' : $this->formatDateTime($group->last_modified); ?>
+= $this->translate('Last modified'); ?>: = $group->last_modified === null ? '-' : $this->formatDateTime($group->last_modified); ?>
+= $this->translate('No group member found matching the filter'); ?>
+= $this->translate('Group has no members.'); ?>
= $this->qlink($this->translate('Add a new member'), 'group/addmember', array( diff --git a/application/views/scripts/user/show.phtml b/application/views/scripts/user/show.phtml index 82f4c53f9..f4e9dee6a 100644 --- a/application/views/scripts/user/show.phtml +++ b/application/views/scripts/user/show.phtml @@ -30,8 +30,12 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc= $this->escape($user->user_name); ?>
= $editLink; ?>= $this->translate('State'); ?>: = $user->is_active === null ? '-' : ($user->is_active ? $this->translate('Active') : $this->translate('Inactive')); ?>
= $this->translate('Created at'); ?>: = $user->created_at === null ? '-' : $this->formatDateTime($user->created_at); ?>
-= $this->translate('Last modified'); ?>: = $user->last_modified === null ? '-' : $this->formatDateTime($user->last_modified); ?>
+= $this->translate('Last modified'); ?>: = $user->last_modified === null ? '-' : $this->formatDateTime($user->last_modified); ?>
+= $this->translate('No memberships found matching the filter'); ?>
+ = $this->translate('User has no group memberships.'); ?> = $this->qlink($this->translate('Create new membership'), 'user/createmembership', array( diff --git a/public/css/icinga/main-content.less b/public/css/icinga/main-content.less index 18bc03a57..06269d271 100644 --- a/public/css/icinga/main-content.less +++ b/public/css/icinga/main-content.less @@ -236,8 +236,9 @@ div.content.users { } div.controls div.user-header { - border-bottom: 2px solid @colorPetrol; - margin-bottom: 1em; + h5 { + margin-bottom: 0em; + } .user-name { display: inline-block; @@ -302,8 +303,9 @@ div.content.groups { } div.controls div.group-header { - border-bottom: 2px solid @colorPetrol; - margin-bottom: 1em; + h5 { + margin-bottom: 0em; + } .group-name { display: inline-block;