2014-08-12 19:07:24 +04:00
|
|
|
[%# Shows list of groups the user is a member of or can grant
|
|
|
|
# License: Dual-license MPL 1.1+ or GPL 3.0+
|
|
|
|
# Author(s): Vitaliy Filippov %]
|
2008-12-15 15:53:33 +03:00
|
|
|
|
2014-08-12 19:07:24 +04:00
|
|
|
[%# INTERFACE: same as account/prefs/group-list.html.tmpl
|
|
|
|
# + allow_edit: boolean, whether the current user is allowed to edit groups
|
2008-12-15 15:53:33 +03:00
|
|
|
#%]
|
|
|
|
|
|
|
|
[% PROCESS global/header.html.tmpl
|
|
|
|
title = "Edit Groups"
|
|
|
|
subheader = "This lets you edit the groups available to put users in."
|
|
|
|
doc_section = "groups.html"
|
|
|
|
%]
|
|
|
|
|
2014-08-12 19:07:24 +04:00
|
|
|
[% BLOCK before_group_table %][% END %]
|
|
|
|
[% BLOCK group_row %]
|
|
|
|
[% IF allow_edit %]
|
|
|
|
<td align="center" valign="top">
|
|
|
|
<a href="editgroups.cgi?action=changeform&group=[% group.id %]"><img src="images/edit.png" alt="edit" title="edit" /></a>
|
|
|
|
<a href="editgroups.cgi?action=del&group=[% group.id %]"><img src="images/delete.png" alt="delete" title="delete" /></a>
|
|
|
|
</td>
|
2009-07-29 15:21:49 +04:00
|
|
|
[% END %]
|
|
|
|
[% END %]
|
2014-08-12 19:07:24 +04:00
|
|
|
[% BLOCK group_head %]
|
|
|
|
[% IF allow_edit %]
|
|
|
|
<th>Actions</th>
|
|
|
|
[% END %]
|
2014-05-30 17:07:04 +04:00
|
|
|
[% END %]
|
|
|
|
|
2014-08-12 19:07:24 +04:00
|
|
|
[% PROCESS "account/prefs/group-list.html.tmpl" show_member = 0 %]
|
|
|
|
|
2014-10-07 14:23:34 +04:00
|
|
|
[% IF allow_edit %]
|
|
|
|
<p><a href="editgroups.cgi?action=add">Add Group</a></p>
|
|
|
|
[% END %]
|
|
|
|
|
2008-12-15 15:53:33 +03:00
|
|
|
[% PROCESS global/footer.html.tmpl %]
|