Code

Set mode to read_only if we edit frozen apps
[gosa.git] / gosa-plugins / goto / admin / applications / application-list-release.xml
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>application-list-release.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>|16px|||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       <label>Remove</label>
87     </action>
89     <action>
90       <type>exporter</type>
91     </action>
93     <action>
94       <type>separator</type>
95     </action>
97     <action>
98       <type>copypaste</type>
99       <cut>false</cut>
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       <cut>false</cut>
113       <type>copypaste</type>
114     </action>
116     <action>
117       <name>edit</name>
118       <type>entry</type>
119       <image>images/lists/edit.png</image>
120       <label>Edit application</label>
121     </action>
123     <action>
124       <name>snapshot</name>
125       <type>snapshot</type>
126     </action>
128     <action>
129       <name>remove</name>
130       <type>entry</type>
131       <image>images/lists/trash.png</image>
132       <acl>application/application[d]</acl>
133       <objectclass>FAKE_OC_branch</objectclass>
134       <label>Remove application</label>
135     </action>
137   </actiontriggers>
139 </list>