diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/login.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/login.html.ep index 28b2d4c..f0ad2c3 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/login.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/login.html.ep @@ -67,7 +67,7 @@
- +
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_quo_list.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_quo_list.html.ep index 6eb7fe6..92e87ff 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_quo_list.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_quo_list.html.ep @@ -4,11 +4,20 @@ <%= $modul %> + % if (config->{debug} == 1) { +
+        <%= dumper $c->current_route %>
+        <%= dumper $userAccounts %>
+    
+ % } +

<%= l 'quo_CURRENT_USAGE_AND_SETTINGS' %>


% my $numUsers = @$userAccounts; + + % if ($numUsers == 0){ <%= l 'ACCOUNT_USER_NONE' %> % } else { @@ -32,14 +41,21 @@ % foreach my $user (@$userAccounts) { - % my $uid = getpwnam($user->key); - % unless ($uid) { - % warn($self->localise('COULD_NOT_GET_UID'),$user->key); - % next; - % } - % my $name = $user->prop("FirstName")." ".$user->prop("LastName"); - % my $dev = Quota::getqcarg('/home/e-smith/files'); - % my ($bc, $bs, $bh, $bt, $ic, $is, $ih, $it) = Quota::query($dev, $uid); + + % my $uid = getpwnam($user->key); + + % if (config->{debug} == 1) { + UID <%= l 'quo_COULD_NOT_GET_UID' %> <%= dumper $user->key %>
+ % } + +
+ % unless ($uid) { + % warn (l 'quo_COULD_NOT_GET_UID', $user->key); + % next; + % } + % my $name = $user->prop("FirstName")." ".$user->prop("LastName"); + % my $dev = Quota::getqcarg('/home/e-smith/files'); + % my ($bc, $bs, $bh, $bt, $ic, $is, $ih, $it) = Quota::query($dev, $uid); <%= $user->key %>