projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no need for FS calendar buttons in RT 4.2
[freeside.git]
/
httemplate
/
browse
/
access_group.html
diff --git
a/httemplate/browse/access_group.html
b/httemplate/browse/access_group.html
index
736ab9c
..
2df0ba0
100644
(file)
--- a/
httemplate/browse/access_group.html
+++ b/
httemplate/browse/access_group.html
@@
-1,11
+1,11
@@
<% include( 'elements/browse.html',
<% include( 'elements/browse.html',
- 'title' => '
Internal Access
Groups',
- 'menubar' => [ '
Internal user
s' => $p.'browse/access_user.html', ],
+ 'title' => '
Employee
Groups',
+ 'menubar' => [ '
View Employee
s' => $p.'browse/access_user.html', ],
'html_init' => $html_init,
'html_init' => $html_init,
- 'name' => '
internal access
groups',
+ 'name' => '
employee
groups',
'query' => { 'table' => 'access_group',
'hashref' => {},
'query' => { 'table' => 'access_group',
'hashref' => {},
- '
extra_sql
' => 'ORDER BY groupname', #??
+ '
order_by
' => 'ORDER BY groupname', #??
},
'count_query' => $count_query,
'header' => [ '#',
},
'count_query' => $count_query,
'header' => [ '#',
@@
-28,8
+28,8
@@
<%once>
my $html_init =
<%once>
my $html_init =
- "
Internal access groups control access to the back-office interface
.<BR><BR>".
- qq!<A HREF="${p}edit/access_group.html"><I>Add an
internal access
group</I></A><BR><BR>!;
+ "
Employee groups control access to the back-office interface. Each employee can be assigned to one or more groups
.<BR><BR>".
+ qq!<A HREF="${p}edit/access_group.html"><I>Add an
employee
group</I></A><BR><BR>!;
#false laziness w/access_user.html & agent_type.cgi
my $agents_sub = sub {
#false laziness w/access_user.html & agent_type.cgi
my $agents_sub = sub {
@@
-81,9
+81,7
@@
my $rights_sub = sub {
'<TR><TH BGCOLOR="#dcdcdc">'. $_. '</TH></TR>'.
'<TR><TD>'.
'<TR><TH BGCOLOR="#dcdcdc">'. $_. '</TH></TR>'.
'<TR><TD>'.
- join('<BR>', grep { warn "$access_group->access_right($_): ".
- $access_group->access_right($_). "\n";
- $access_group->access_right($_); }
+ join('<BR>', grep { $access_group->access_right($_); }
map { ref($_) ? $_->{'rightname'} : $_; }
@{ $rights{$_} }
).
map { ref($_) ? $_->{'rightname'} : $_; }
@{ $rights{$_} }
).