]>
iEval git - gruntmaster-page.git/blob - lib/Gruntmaster/Page/Us.pm
1 package Gruntmaster
::Page
::Us
;
6 use Gruntmaster
::Page
::Base us
=> 'Users';
7 our @ISA = qw
/Gruntmaster::Page::Base/;
8 our $VERSION = '0.001';
10 use constant TEMPLATES
=> {
12 <div class="list-group"><tmpl_loop users><a class="list-group-item" href="<tmpl_var id>"><tmpl_var name></a>
18 my ($self, $htc, $lang, $env) = @_;
19 debug
$env => "language is '$lang'";
21 $htc->param(users
=> [ sort { lc $a->{name
} cmp lc $b->{name
} }
22 map { {id
=> $_, name
=> user_name
} }
23 grep { user_name
=~ /\w/ } users
]);
This page took 0.058869 seconds and 4 git commands to generate.