X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Faccess_group.html;h=aa9097f360e0e578784fe3f7b2b5185ddd73465a;hb=5250c44bd7f282c7d782bf0e8349af12376929df;hp=ccb64e1522e303fdf6f0864c266eb25c86fd0be7;hpb=eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd;p=freeside.git diff --git a/httemplate/browse/access_group.html b/httemplate/browse/access_group.html index ccb64e152..aa9097f36 100644 --- a/httemplate/browse/access_group.html +++ b/httemplate/browse/access_group.html @@ -1,10 +1,8 @@ <% include( 'elements/browse.html', - 'title' => 'Internal Access Groups', - 'menubar' => [ # 'Main menu' => $p, - 'Internal users' => $p.'browse/access_user.html', - ], + 'title' => 'Employee Groups', + 'menubar' => [ 'View Employees' => $p.'browse/access_user.html', ], 'html_init' => $html_init, - 'name' => 'internal access groups', + 'name' => 'employee groups', 'query' => { 'table' => 'access_group', 'hashref' => {}, 'extra_sql' => 'ORDER BY groupname', #?? @@ -30,8 +28,8 @@ <%once> my $html_init = - "Internal access groups control access to the back-office interface.

". - qq!Add an internal access group

!; + "Employee groups control access to the back-office interface. Each employee can be assigned to one or more groups.

". + qq!Add an employee group

!; #false laziness w/access_user.html & agent_type.cgi my $agents_sub = sub { @@ -83,9 +81,7 @@ my $rights_sub = sub { ''. $_. ''. ''. - join('
', grep { warn "$access_group->access_right($_): ". - $access_group->access_right($_). "\n"; - $access_group->access_right($_); } + join('
', grep { $access_group->access_right($_); } map { ref($_) ? $_->{'rightname'} : $_; } @{ $rights{$_} } ).