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>application-list.tpl</template>
10 <module>application</module>
11 <label>List of applications</label>
12 <defaultSortColumn>1</defaultSortColumn>
14 <objectType>
15 <label>Application</label>
16 <objectClass>gosaApplication</objectClass>
17 <category>application</category>
18 <class>application</class>
19 <image>plugins/goto/images/select_application.png</image>
20 </objectType>
22 </definition>
24 <table>
25 <layout>|20px;c|||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>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/element.png[new]</image>
68 <label>Create</label>
70 <action>
71 <name>new</name>
72 <type>entry</type>
73 <image>plugins/goto/images/select_application.png[new]</image>
74 <label>Application</label>
75 </action>
76 </action>
78 <action>
79 <type>separator</type>
80 </action>
82 <action>
83 <name>remove</name>
84 <type>entry</type>
85 <image>images/lists/trash.png</image>
86 <objectclass>FAKE_OC_branch</objectclass>
87 <label>Remove</label>
88 </action>
90 <action>
91 <type>exporter</type>
92 </action>
94 <action>
95 <type>separator</type>
96 </action>
98 <action>
99 <type>copypaste</type>
100 </action>
102 <action>
103 <type>snapshot</type>
104 </action>
106 </actionmenu>
108 <actiontriggers snapshot="true" copypaste="true">
110 <action>
111 <name>cp</name>
112 <type>copypaste</type>
113 </action>
115 <action>
116 <name>edit</name>
117 <type>entry</type>
118 <image>images/lists/edit.png</image>
119 <label>Edit application</label>
120 </action>
122 <action>
123 <name>snapshot</name>
124 <type>snapshot</type>
125 </action>
127 <action>
128 <name>remove</name>
129 <type>entry</type>
130 <image>images/lists/trash.png</image>
131 <acl>application/application[d]</acl>
132 <label>Remove application</label>
133 </action>
135 </actiontriggers>
137 </list>