Code

Updated objectListing
[gosa.git] / gosa-core / plugins / admin / groups / group-list.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4   <definition>
5     <departmentBrowser>true</departmentBrowser>
6     <departmentRootVisible>false</departmentRootVisible>
7     <baseMode>true</baseMode>
8     <multiSelect>true</multiSelect>
9     <template>group-list.tpl</template>
10     <module>groups</module>
11     <label>List of groups</label>
12     <defaultSortColumn>1</defaultSortColumn>
14     <objectType>
15       <label>Group</label>
16       <objectClass>posixGroup</objectClass>
17       <category>groups</category>
18       <class>group</class>
19       <image>plugins/groups/images/select_group.png</image>
20     </objectType>
22   </definition>
24   <table>
25     <layout>|20px;c|||120px|150px;r|</layout>
27     <department>
28       <value>%{filter:objectType(dn,objectClass)}</value>
29     </department>
31     <department>
32       <value>%{filter:departmentLink(row,dn,description)}</value>
33       <span>2</span>
34     </department>
36     <column>
37       <value>%{filter:objectType(dn,objectClass)}</value>
38     </column>
40     <column>
41       <label>Name</label>
42       <sortAttribute>cn</sortAttribute>
43       <sortType>string</sortType>
44       <value>%{filter:link(row,dn,"%s",cn)}</value>
45       <export>true</export>
46     </column>
48     <column>
49       <label>Description</label>
50       <sortAttribute>description</sortAttribute>
51       <sortType>string</sortType>
52       <value>%{filter:link(row,dn,"%s",description)}</value>
53       <export>true</export>
54     </column>
56     <column>
57       <label>Properties</label>
58       <value>%{filter:filterProperties(row,objectClass)}</value>
59     </column>
61     <column>
62       <label>Actions</label>
63       <value>%{filter:actions(dn,row,objectClass)}</value>
64     </column>
66   </table>
68   <actionmenu>
70     <action>
71      <type>sub</type>
72      <image>images/lists/element.png[new]</image>
73      <label>Create</label>
75      <action>
76       <name>new</name>
77       <type>entry</type>
78       <image>plugins/groups/images/select_group.png[new]</image>
79       <label>Group</label>
80      </action>
81     </action>
83     <action>
84       <type>separator</type>
85     </action>
87     <action>
88       <name>edit</name>
89       <type>entry</type>
90       <image>images/lists/edit.png</image>
91       <label>Edit</label>
92     </action>
94     <action>
95       <name>remove</name>
96       <type>entry</type>
97       <image>images/lists/trash.png</image>
98       <label>Remove</label>
99     </action>
101     <action>
102       <name>sendMessage</name>
103       <type>entry</type>
104       <depends>DaemonEvent_notify</depends>
105       <image>plugins/goto/images/notify.png</image>
106       <label>Send message</label>
107     </action>
109     <action>
110       <type>exporter</type>
111     </action>
113     <action>
114       <type>separator</type>
115     </action>
117     <action>
118       <type>copypaste</type>
119     </action>
121     <action>
122       <type>snapshot</type>
123     </action>
125   </actionmenu>
127   <actiontriggers snapshot="true" copypaste="true">
129     <action>
130       <name>cp</name>
131       <type>copypaste</type>
132     </action>
134     <action>
135       <name>edit</name>
136       <type>entry</type>
137       <image>images/lists/edit.png</image>
138       <label>Edit group</label>
139     </action>
141     <action>
142       <name>snapshot</name>
143       <type>snapshot</type>
144     </action>
146     <action>
147       <name>remove</name>
148       <type>entry</type>
149       <image>images/lists/trash.png</image>
150       <acl>groups/group[d]</acl>
151       <label>Remove group</label>
152     </action>
154   </actiontriggers>
156 </list>