1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4 <definition>
5 <departmentBrowser>false</departmentBrowser>
6 <departmentRootVisible>false</departmentRootVisible>
7 <baseMode>false</baseMode>
8 <multiSelect>true</multiSelect>
9 <template>opsiLicense-list.tpl</template>
10 <module>opsi</module>
11 <label>List of license pools</label>
12 <defaultSortColumn>1</defaultSortColumn>
14 <objectType>
15 <label>License</label>
16 <objectClass>fake_opsiLicense</objectClass>
17 <category>opsi</category>
18 <class>licenseGeneric</class>
19 <image>plugins/opsi/images/select_license.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/element.png[new]</image>
68 <label>Create</label>
70 <action>
71 <name>new</name>
72 <type>entry</type>
73 <image>plugins/opsi/images/select_license.png[new]</image>
74 <label>License</label>
75 </action>
76 </action>
78 <action>
79 <type>separator</type>
80 </action>
82 <action>
83 <name>edit</name>
84 <type>entry</type>
85 <image>images/lists/edit.png</image>
86 <label>Edit</label>
87 </action>
89 <action>
90 <name>remove</name>
91 <type>entry</type>
92 <image>images/lists/trash.png</image>
93 <label>Remove</label>
94 </action>
96 <action>
97 <type>exporter</type>
98 </action>
100 </actionmenu>
102 <actiontriggers snapshot="false" copypaste="false">
104 <action>
105 <name>edit</name>
106 <type>entry</type>
107 <image>images/lists/edit.png</image>
108 <label>Edit license</label>
109 </action>
111 <action>
112 <name>remove</name>
113 <type>entry</type>
114 <image>images/lists/trash.png</image>
115 <acl>opsi/licenseGeneric[d]</acl>
116 <label>Remove license</label>
117 </action>
119 </actiontriggers>
121 </list>