Code

c872aa17ef4cf2c12c819323490c464fd024652e
[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      </action>
77      <action>
78       <name>new</name>
79       <type>entry</type>
80       <image>plugins/systems/images/select_workstation.png</image>
81       <label>Workstation</label>
82      </action>
84      <action>
85       <name>new</name>
86       <type>entry</type>
87       <image>plugins/systems/images/select_terminal.png</image>
88       <label>Terminal</label>
89      </action>
91      <action>
92       <name>new</name>
93       <type>entry</type>
94       <image>plugins/systems/images/select_printer.png</image>
95       <label>Network printer</label>
96      </action>
98      <action>
99       <name>new</name>
100       <type>entry</type>
101       <image>plugins/systems/images/select_phone.png</image>
102       <label>Phone</label>
103      </action>
105      <action>
106       <name>new</name>
107       <type>entry</type>
108       <image>plugins/systems/images/select_component.png</image>
109       <label>Network device</label>
110      </action>
112      <action>
113       <name>new</name>
114       <type>entry</type>
115       <image>plugins/systems/images/select_winstation.png</image>
116       <label>Opsi client</label>
117       <depends>opsi</depends>
118      </action>
119     </action>
121     <action>
122       <type>separator</type>
123     </action>
125     <action>
126       <name>edit</name>
127       <type>entry</type>
128       <image>images/lists/edit.png</image>
129       <label>Edit</label>
130     </action>
132     <action>
133       <name>remove</name>
134       <type>entry</type>
135       <image>images/lists/trash.png</image>
136       <label>Remove</label>
137     </action>
139     <action>
140       <type>exporter</type>
141     </action>
143     <action>
144       <type>separator</type>
145     </action>
147     <action>
148       <type>copypaste</type>
149     </action>
151     <action>
152       <type>snapshot</type>
153     </action>
155   </actionmenu>
157   <actiontriggers snapshot="true" copypaste="true">
159     <action>
160       <name>cp</name>
161       <type>copypaste</type>
162     </action>
164     <action>
165       <name>edit</name>
166       <type>entry</type>
167       <image>images/lists/edit.png</image>
168       <label>Edit role</label>
169     </action>
171     <action>
172       <name>snapshot</name>
173       <type>snapshot</type>
174     </action>
176     <action>
177       <name>remove</name>
178       <type>entry</type>
179       <image>images/lists/trash.png</image>
180       <acl>roles/role[d]</acl>
181       <label>Remove role</label>
182     </action>
184   </actiontriggers>
186 </list>