+
+
+ = $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('Group Memberships'); ?>
+ compact): ?>
+ = $this->sortBox ?>
+
+ = $this->limiter ?>
+ = $this->paginator ?>
+ compact): ?>
+ = $this->filterEditor ?>
+
0): ?>
@@ -84,13 +94,18 @@ if ($this->hasPermission('config/authentication/users/edit') && $backend instanc
= $this->translate('No memberships found matching the filter'); ?>
-= $this->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->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'
+ )
+) ?>
-
\ No newline at end of file
+
diff --git a/public/css/icinga/main-content.less b/public/css/icinga/main-content.less
index 89dcd2572..37756ae8d 100644
--- a/public/css/icinga/main-content.less
+++ b/public/css/icinga/main-content.less
@@ -201,6 +201,7 @@ tr[href] {
/* End of table behaviour */
+/* TODO: get rid of most if not all styles below this line */
div.content.users {
table.user-list {
th.user-remove {
@@ -224,19 +225,6 @@ div.content.users {
}
}
-div.controls div.user-header {
- .user-name {
- display: inline-block;
- margin: 0 0 0.3em;
- font-size: 2em;
- }
-
- .user-state, .user-created, .user-modified {
- margin: 0 0 0.2em;
- font-size: 0.8em;
- }
-}
-
div.content.memberships {
table.membership-list {
th.membership-cancel {