Code

Beautified FAI templates
[gosa.git] / gosa-plugins / fai / admin / fai / fai-list.xml
index 23d2e8aad13387be8364d9250ea127ee86386fa9..792cb4d28dbd064395582cca0aebb0d186a749ee 100644 (file)
@@ -8,8 +8,8 @@
     <multiSelect>true</multiSelect>
     <template>fai-list.tpl</template>
     <module>fai</module>
-    <label>List of fai stuff!!!!!</label>
-    <defaultSortColumn>1</defaultSortColumn>
+    <label>List of deployment classes and products</label>
+    <defaultSortColumn>0</defaultSortColumn>
 
     <objectType>
       <label>FAI</label>
 
     <action>
      <type>sub</type>
-     <image>images/lists/new.png</image>
+     <image>images/lists/element.png[new]</image>
      <label>Create</label>
 
      <action>
-      <name>new</name>
+      <name>new_profile</name>
       <type>entry</type>
-      <image>plugins/rolemanagement/images/new.png</image>
-      <label>Role</label>
+      <image>plugins/fai/images/fai_profile.png</image>
+      <label>Profile</label>
      </action>
+     <action>
+      <name>new_template</name>
+      <type>entry</type>
+      <image>plugins/fai/images/fai_template.png</image>
+      <label>Template</label>
+     </action>
+     <action>
+      <name>new_script</name>
+      <type>entry</type>
+      <image>plugins/fai/images/fai_script.png</image>
+      <label>Script</label>
+     </action>
+     <action>
+      <name>new_hook</name>
+      <type>entry</type>
+      <image>plugins/fai/images/fai_hook.png</image>
+      <label>Hook</label>
+     </action>
+     <action>
+      <name>new_variable</name>
+      <type>entry</type>
+      <image>plugins/fai/images/fai_variable.png</image>
+      <label>Variable</label>
+     </action>
+     <action>
+      <name>new_package</name>
+      <type>entry</type>
+      <image>plugins/fai/images/fai_packages.png</image>
+      <label>Package list</label>
+     </action>
+     <action>
+      <name>new_partition</name>
+      <type>entry</type>
+      <image>plugins/fai/images/fai_partitionTable.png</image>
+      <label>Partition table</label>
+     </action>
+
     </action>
 
     <action>
     </action>
 
     <action>
-      <name>edit</name>
+      <name>remove_multiple</name>
       <type>entry</type>
-      <image>images/lists/edit.png</image>
-      <label>Edit</label>
+      <image>images/lists/trash.png</image>
+      <label>Remove entries</label>
     </action>
 
     <action>
-      <name>remove</name>
-      <type>entry</type>
-      <image>images/lists/trash.png</image>
-      <label>Remove</label>
+      <type>separator</type>
     </action>
 
     <action>
-      <type>exporter</type>
+     <name>createBranch</name>
+     <type>entry</type>
+     <image>plugins/fai/images/branch_small.png[new]</image>
+     <label>Create branch</label>
+    </action>
+
+    <action>
+     <name>createFreeze</name>
+     <type>entry</type>
+     <image>plugins/fai/images/freeze.png[new]</image>
+     <label>Create freeze</label>
+    </action>
+
+    <action>
+     <name>removeBranch</name>
+     <type>entry</type>
+     <image>images/lists/trash.png</image>
+     <label>Remove release</label>
     </action>
 
     <action>
     </action>
 
     <action>
-      <type>copypaste</type>
+      <type>exporter</type>
     </action>
 
     <action>
-      <type>snapshot</type>
+      <type>separator</type>
+    </action>
+
+    <action>
+      <type>copypaste</type>
+      <cut>false</cut>
     </action>
 
   </actionmenu>
 
-  <actiontriggers snapshot="true" copypaste="true">
+  <actiontriggers snapshot="false" copypaste="true">
 
     <action>
       <name>cp</name>
+      <cut>false</cut>
+      <objectclass>FAKE_OC_FAI</objectclass>
       <type>copypaste</type>
     </action>
 
       <label>Edit</label>
     </action>
 
-    <action>
-      <name>snapshot</name>
-      <type>snapshot</type>
-    </action>
-
     <action>
       <name>remove</name>
       <type>entry</type>
       <objectclass>FAKE_OC_IsBranch</objectclass>
       <image>images/lists/trash.png</image>
-      <label>Remove role</label>
+      <label>Remove</label>
     </action>
 
   </actiontriggers>