diff --git a/application/views/scripts/user/show.phtml b/application/views/scripts/user/show.phtml index f7ddff4a2..929737c71 100644 --- a/application/views/scripts/user/show.phtml +++ b/application/views/scripts/user/show.phtml @@ -23,38 +23,37 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc ?>
- compact): ?> - - - -

escape($user->user_name); ?>

+compact): ?> + + +

escape($user->user_name); ?>

+ + + + + + + + + + + + + +
translate('State'); ?>is_active === null ? '-' : ($user->is_active ? $this->translate('Active') : $this->translate('Inactive')); ?>
translate('Created at'); ?>created_at === null ? '-' : $this->formatDateTime($user->created_at); ?>
translate('Last modified'); ?>last_modified === null ? '-' : $this->formatDateTime($user->last_modified); ?>
+

translate('Group Memberships'); ?>

+compact): ?> + sortBox ?> + + limiter ?> + paginator ?> +compact): ?> + filterEditor ?> +
-
- - - - - - - - - - - - - -
translate('State'); ?>:is_active === null ? '-' : ($user->is_active ? $this->translate('Active') : $this->translate('Inactive')); ?>
translate('Created at'); ?>:created_at === null ? '-' : $this->formatDateTime($user->created_at); ?>
translate('Last modified'); ?>:last_modified === null ? '-' : $this->formatDateTime($user->last_modified); ?>
-

translate('Group Memberships'); ?>

- compact): ?> - sortBox ?> - - limiter ?> - paginator ?> - compact): ?> - filterEditor ?> - +
0): ?> - +
@@ -95,17 +94,17 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc qlink( - $this->translate('Create new membership'), - 'user/createmembership', - array( - 'backend' => $backend->getName(), - 'user' => $user->user_name - ), - array( - 'icon' => 'plus', - 'data-base-target' => '_next', - 'class' => 'membership-create' - ) -) ?> + $this->translate('Create New Membership'), + 'user/createmembership', + array( + 'backend' => $backend->getName(), + 'user' => $user->user_name + ), + array( + 'icon' => 'plus', + 'data-base-target' => '_next', + 'class' => 'membership-create' + ) +); ?> - + \ No newline at end of file diff --git a/public/css/icinga/main-content.less b/public/css/icinga/main-content.less index 41939c1c6..98493f1ea 100644 --- a/public/css/icinga/main-content.less +++ b/public/css/icinga/main-content.less @@ -186,7 +186,21 @@ tr[href]:hover { } /* END of HOVER colors */ -/* TODO: get rid of most if not all styles below this line */ +div.controls table.user-header { + th { + width: 9em; + line-height: 1.5em; + font-size: 0.9em; + } + + td { + line-height: 1.5em; + font-size: 0.9em; + } +} + +/* TODO: get rid of most if not all styles below this line, + by ensuring to not to make everything look ugly... */ div.content.users { table.user-list { th.user-remove {
translate('Group'); ?>