Commit 3b494240 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

Merge branch 'feat/1500_listusers/develop' of...

Merge branch 'feat/1500_listusers/develop' of https://github.com/robertperez-upc/ravada into robertperez-upc-feat/1500_listusers/develop
parents 331bdb67 6fee5cc4
...@@ -2240,6 +2240,9 @@ sub admin { ...@@ -2240,6 +2240,9 @@ sub admin {
$c->stash(name => $c->param('name' or '')); $c->stash(name => $c->param('name' or ''));
if ( $c->param('name') ) { if ( $c->param('name') ) {
$c->stash(list_users => $RAVADA->list_users($c->param('name') )) $c->stash(list_users => $RAVADA->list_users($c->param('name') ))
} else {
my $users = $RAVADA->list_users();
$c->stash(list_users => $users) if (($users) && (scalar(@$users) < 40));
} }
} }
if ($page eq 'machines') { if ($page eq 'machines') {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment