- Timestamp:
- 12/02/11 11:42:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Users.pm
r759 r861 43 43 $c->stash->{initials} = [ sort keys %initials ]; 44 44 } 45 $c->stash->{page}{title} = 'Listes des utilisateurs (' . scalar(@{ 46 $c->stash->{objectslist} }) . ')'; 45 47 $c->stash->{userslist} = \@userlist; 46 48 } … … 51 53 my $base = $c->model('Accounts')->db; 52 54 55 $c->stash->{page}{title} = "Utilisateur :: $username"; 53 56 $c->stash->{username} = $username; 54 57 $c->stash->{user} = $base->get_object('user', $username) or do { … … 57 60 }; 58 61 $c->stash->{subform} = $subform || ''; 62 $c->stash->{page}{title} = "Utilisateur :: $username"; 59 63 60 64 for ($subform || '') { … … 155 159 last; 156 160 }; 161 /^my$/ and do { 162 $c->stash->{db} = $base; 163 $c->stash->{template} = 'users/my.tt'; 164 }; 157 165 /^dump$/ and do { 158 166 $c->stash->{db} = $base;
Note: See TracChangeset
for help on using the changeset viewer.