Code

Updated system filter
[gosa.git] / gosa-plugins / systems / admin / systems / system-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>system-list.tpl</template>
10     <module>roles</module>
11     <label>List of systems</label>
12     <defaultSortColumn>1</defaultSortColumn>
14     <objectType>
15       <label>Role</label>
16       <objectClass>organizationalRole</objectClass>
17       <category>roles</category>
18       <class>role</class>
19       <image>plugins/rolemanagement/images/role.png</image>
20     </objectType>
22   </definition>
24   <table>
25     <layout>|20px;c||250px|170px;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>Actions</label>
58       <value>%{filter:actions(dn,row,objectClass)}</value>
59     </column>
61   </table>
63   <actionmenu>
65     <action>
66      <type>sub</type>
67      <image>images/lists/new.png</image>
68      <label>Create</label>
70      <action>
71       <name>new</name>
72       <type>entry</type>
73       <image>plugins/systems/images/select_server.png</image>
74       <label>Server</label>
75       <depends>servgeneric</depends>
76      </action>
78      <action>
79       <name>new</name>
80       <type>entry</type>
81       <image>plugins/systems/images/select_workstation.png</image>
82       <label>Workstation</label>
83       <depends>workgeneric</depends>
84      </action>
86      <action>
87       <name>new</name>
88       <type>entry</type>
89       <image>plugins/systems/images/select_terminal.png</image>
90       <label>Terminal</label>
91       <depends>termgeneric</depends>
92      </action>
94      <action>
95       <name>new</name>
96       <type>entry</type>
97       <image>plugins/systems/images/select_printer.png</image>
98       <label>Network printer</label>
99       <depends>printgeneric</depends>
100      </action>
102      <action>
103       <name>new</name>
104       <type>entry</type>
105       <image>plugins/systems/images/select_phone.png</image>
106       <label>Phone</label>
107       <depends>phoneGeneric</depends>
108      </action>
110      <action>
111       <name>new</name>
112       <type>entry</type>
113       <image>plugins/systems/images/select_component.png</image>
114       <label>Network device</label>
115       <depends>componentGeneric</depends>
116      </action>
118      <action>
119       <name>new</name>
120       <type>entry</type>
121       <image>plugins/systems/images/select_winstation.png</image>
122       <label>Opsi client</label>
123       <depends>opsi</depends>
124      </action>
125     </action>
127     <action>
128       <type>separator</type>
129     </action>
131     <action>
132       <name>edit</name>
133       <type>entry</type>
134       <image>images/lists/edit.png</image>
135       <label>Edit</label>
136     </action>
138     <action>
139       <name>remove</name>
140       <type>entry</type>
141       <image>images/lists/trash.png</image>
142       <label>Remove</label>
143     </action>
145     <action>
146       <type>exporter</type>
147     </action>
149     <action>
150       <type>separator</type>
151     </action>
153     <action>
154       <type>copypaste</type>
155     </action>
157     <action>
158       <type>snapshot</type>
159     </action>
161   </actionmenu>
163   <actiontriggers snapshot="true" copypaste="true">
165     <action>
166       <name>cp</name>
167       <type>copypaste</type>
168     </action>
170     <action>
171       <name>edit</name>
172       <type>entry</type>
173       <image>images/lists/edit.png</image>
174       <label>Edit role</label>
175     </action>
177     <action>
178       <name>snapshot</name>
179       <type>snapshot</type>
180     </action>
182     <action>
183       <name>remove</name>
184       <type>entry</type>
185       <image>images/lists/trash.png</image>
186       <acl>roles/role[d]</acl>
187       <label>Remove role</label>
188     </action>
190   </actiontriggers>
192 </list>