Code

Updated ACL list column width
[gosa.git] / gosa-core / plugins / admin / acl / acl-list.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4   <definition>
5     <departmentBrowser>true</departmentBrowser>
6     <departmentRootVisible>true</departmentRootVisible>
7     <baseMode>true</baseMode>
8     <multiSelect>true</multiSelect>
9     <template>acl-list.tpl</template>
10     <module>acl</module>
11     <label>List of ACLs</label>
12     <defaultSortColumn>1</defaultSortColumn>
14     <objectType>
15       <label>ACL</label>
16       <objectClass>gosaAcl</objectClass>
17       <category>acl</category>
18       <class>acl</class>
19       <image>images/lists/locked.png</image>
20     </objectType>
22     <objectType>
23       <label>Role</label>
24       <objectClass>gosaRole</objectClass>
25       <category>acl</category>
26       <class>aclrole</class>
27       <image>plugins/acl/images/role.png</image>
28     </objectType>
30   </definition>
32   <table>
33     <layout>|20px;c|||100px;r|</layout>
35     <department>
36       <value>%{filter:objectType(dn,objectClass)}</value>
37     </department>
39     <department>
40       <value>%{filter:departmentLink(row,dn,description)}</value>
41       <span>1</span>
42     </department>
44     <column>
45       <value>%{filter:objectType(dn,objectClass)}</value>
46     </column>
48     <column>
49       <label>Name</label>
50       <sortAttribute>dn</sortAttribute>
51       <sortType>string</sortType>
52       <value>%{filter:filterLabel(row,dn,ou,cn,pid,base)}</value>
53       <export>true</export>
54     </column>
56     <column>
57       <label>Description</label>
58       <sortAttribute>description</sortAttribute>
59       <sortType>string</sortType>
60       <value>%{filter:link(row,dn,"%s",description)}</value>
61       <export>true</export>
62     </column>
64     <column>
65       <label>Actions</label>
66       <value>%{filter:actions(dn,row,objectClass)}</value>
67     </column>
69   </table>
71   <actionmenu>
73     <action>
74      <type>sub</type>
75      <image>images/lists/element.png[new]</image>
76      <label>Create</label>
78      <action>
79       <name>new</name>
80       <type>entry</type>
81       <image>plugins/acl/images/role.png</image>
82       <label>Role</label>
83      </action>
85     </action>
87     <action>
88       <type>separator</type>
89     </action>
91     <action>
92       <name>remove</name>
93       <type>entry</type>
94       <image>images/lists/trash.png</image>
95       <label>Remove</label>
96     </action>
98     <action>
99       <type>separator</type>
100     </action>
102     <action>
103       <type>exporter</type>
104     </action>
106     <action>
107       <type>separator</type>
108     </action>
110     <action>
111       <type>copypaste</type>
112     </action>
114     <action>
115       <type>snapshot</type>
116     </action>
118   </actionmenu>
120   <actiontriggers snapshot="true" copypaste="true">
122     <action>
123       <name>cp</name>
124       <type>copypaste</type>
125     </action>
127     <action>
128       <name>edit</name>
129       <type>entry</type>
130       <image>images/lists/edit.png</image>
131       <label>Edit</label>
132     </action>
134     <action>
135       <name>snapshot</name>
136       <type>snapshot</type>
137     </action>
139     <action>
140       <name>remove</name>
141       <type>entry</type>
142       <image>images/lists/trash.png</image>
143       <acl>acl/acl[d]</acl>
144       <label>Remove</label>
145     </action>
147   </actiontriggers>
149 </list>