Code

Updated height of filter editor
[gosa.git] / gosa-core / plugins / admin / departments / dep-list.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4   <definition>
5     <departmentBrowser>false</departmentBrowser>
6     <departmentRootVisible>false</departmentRootVisible>
7     <baseMode>true</baseMode>
8     <multiSelect>true</multiSelect>
9     <template>dep-list.tpl</template>
10     <module>departments</module>
11     <label>List of departments</label>
12     <defaultSortColumn>1</defaultSortColumn>
14     <objectType>
15       <label>Domain</label>
16       <objectClass>domain</objectClass>
17       <category>department</category>
18       <class>domain</class>
19       <image>plugins/departments/images/domain.png</image>
20     </objectType>
22     <objectType>
23       <label>Domain component</label>
24       <objectClass>dcObject</objectClass>
25       <category>department</category>
26       <class>dcObject</class>
27       <image>plugins/departments/images/dc.png</image>
28     </objectType>
30     <objectType>
31       <label>Country</label>
32       <objectClass>country</objectClass>
33       <category>department</category>
34       <class>country</class>
35       <image>plugins/departments/images/country.png</image>
36     </objectType>
38     <objectType>
39       <label>Locality</label>
40       <objectClass>locality</objectClass>
41       <category>department</category>
42       <class>locality</class>
43       <image>plugins/departments/images/locality.png</image>
44     </objectType>
46     <objectType>
47       <label>Organization</label>
48       <objectClass>department</objectClass>
49       <category>department</category>
50       <class>organization</class>
51       <image>plugins/departments/images/organization.png</image>
52     </objectType>
54     <objectType>
55       <label>Department</label>
56       <objectClass>organizationalUnit</objectClass>
57       <category>department</category>
58       <class>department</class>
59       <image>images/lists/folder.png</image>
60     </objectType>
61   </definition>
63   <table>
64     <layout>|20px;c|||70px;r|</layout>
66     <column>
67       <value>%{filter:objectType(dn,objectClass)}</value>
68     </column>
70     <column>
71       <label>Department</label>
72       <sortAttribute>ou</sortAttribute>
73       <sortType>string</sortType>
74       <value>%{filter:depLabel(row,dn,"%s",ou,pid,base)}</value>
75       <export>true</export>
76     </column>
78     <column>
79       <label>Description</label>
80       <sortAttribute>description</sortAttribute>
81       <sortType>string</sortType>
82       <value>%{filter:depLabel(row,dn,"%s",description,pid,base)}</value>
83       <export>true</export>
84     </column>
86     <column>
87       <label>Actions</label>
88       <value>%{filter:actions(dn,row,objectClass)}</value>
89     </column>
91   </table>
93   <actionmenu>
95     <action>
96      <type>sub</type>
97      <label>Create</label>
99      <action>
100       <name>new_domain</name>
101       <type>entry</type>
102       <label>Domain</label>
103       <image>plugins/departments/images/domain.png</image>
104      </action>
105     
106      <action>
107       <name>new_dcObject</name>
108       <type>entry</type>
109       <label>Domain component</label>
110       <image>plugins/departments/images/dc.png</image>
111      </action>
113      <action>
114       <name>new_country</name>
115       <type>entry</type>
116       <label>Country</label>
117       <image>plugins/departments/images/country.png</image>
118      </action>
120      <action>
121       <name>new_locality</name>
122       <type>entry</type>
123       <label>Locality</label>
124       <image>plugins/departments/images/locality.png</image>
125      </action>
127      <action>
128       <name>new_organization</name>
129       <type>entry</type>
130       <label>Organization</label>
131       <image>plugins/departments/images/organization.png</image>
132      </action>
134      <action>
135       <name>new_organizationalUnit</name>
136       <type>entry</type>
137       <label>Department</label>
138       <image>images/lists/folder.png</image>
139      </action>
141     </action>
143     <action>
144       <type>separator</type>
145     </action>
147     <action>
148       <type>exporter</type>
149     </action>
151     <action>
152       <type>separator</type>
153     </action>
155     <action>
156       <name>remove</name>
157       <type>entry</type>
158       <image>images/lists/trash.png</image>
159       <label>Remove</label>
160     </action>
162   </actionmenu>
164   <actiontriggers snapshot="false" copypaste="false">
166     <action>
167       <name>edit</name>
168       <type>entry</type>
169       <nospan></nospan>
170       <image>images/lists/edit.png</image>
171       <label>Edit</label>
172     </action>
174     <action>
175       <name>remove</name>
176       <type>entry</type>
177       <nospan></nospan>
178       <image>images/lists/trash.png</image>
179       <acl>department[d]</acl>
180       <label>Remove</label>
181     </action>
183   </actiontriggers>
185 </list>