Skip to content

Commit

Permalink
chore: set weight attribute for ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
KirylHatalski committed Dec 6, 2024
1 parent f351c63 commit 0a73efa
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions actions/structures.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,31 @@
<action id="test-authoring" name="Authoring" url="/taoTests/Tests/authoring" group="content" context="instance" binding="launchEditor">
<icon id="icon-edit"/>
</action>
<action id="test-class-new" name="New class" js="subClass" url="/taoTests/Tests/addSubClass" context="resource" group="tree">
<action id="test-class-new" name="New class" js="subClass" url="/taoTests/Tests/addSubClass" context="resource" group="tree" weight="10">
<icon id="icon-folder-open"/>
</action>
<action id="test-delete" name="Delete" url="/taoTests/Tests/delete" context="resource" group="tree" binding="removeNode">
<action id="test-delete" name="Delete" url="/taoTests/Tests/delete" context="resource" group="tree" binding="removeNode" weight="-1">
<icon id="icon-bin"/>
</action>
<action id="test-delete-all" name="Delete" url="/taoTests/Tests/deleteAll" context="resource" multiple="true" group="tree" binding="removeNodes">
<action id="test-delete-all" name="Delete" url="/taoTests/Tests/deleteAll" context="resource" multiple="true" group="tree" binding="removeNodes" weight="-2">
<icon id="icon-bin"/>
</action>
<action id="test-move" name="Move" url="/taoTests/Tests/moveInstance" context="instance" group="none" binding="moveNode">
<icon id="icon-move-item"/>
</action>
<action id="test-import" name="Import" url="/taoTests/TestImport/index" context="resource" group="tree" binding="loadClass">
<action id="test-import" name="Import" url="/taoTests/TestImport/index" context="resource" group="tree" binding="loadClass" weight="5">
<icon id="icon-import"/>
</action>
<action id="test-export" name="Export" url="/taoTests/TestExport/index" context="resource" group="tree">
<action id="test-export" name="Export" url="/taoTests/TestExport/index" context="resource" group="tree" weight="4">
<icon id="icon-export"/>
</action>
<action id="test-duplicate" name="Duplicate" js="duplicateNode" url="/taoTests/Tests/cloneInstance" context="instance" group="tree">
<action id="test-duplicate" name="Duplicate" js="duplicateNode" url="/taoTests/Tests/cloneInstance" context="instance" group="tree" weight="8">
<icon id="icon-copy"/>
</action>
<action id="test-copy-to" name="Copy To" url="/taoTests/Tests/copyInstance" context="instance" group="tree" binding="copyTo">
<action id="test-copy-to" name="Copy To" url="/taoTests/Tests/copyInstance" context="instance" group="tree" binding="copyTo" weight="7">
<icon id="icon-copy"/>
</action>
<action id="test-move-to" name="Move To" url="/taoTests/Tests/moveResource" context="instance" group="tree" binding="moveTo">
<action id="test-move-to" name="Move To" url="/taoTests/Tests/moveResource" context="instance" group="tree" binding="moveTo" weight="6">
<icon id="icon-move-item"/>
</action>
<action id="class-move-to" name="Move To" url="/taoTests/Tests/moveClass" context="class" group="tree" binding="moveTo">
Expand All @@ -66,7 +66,7 @@
<action id="test-move-all" name="Move To" url="/taoTests/Tests/moveAll" context="resource" multiple="true" group="tree" binding="moveTo">
<icon id="icon-move-item"/>
</action>
<action id="test-new" name="New test" url="/taoTests/Tests/addInstance" context="resource" group="tree" binding="instanciate">
<action id="test-new" name="New test" url="/taoTests/Tests/addInstance" context="resource" group="tree" binding="instanciate" weight="9">
<icon id="icon-test"/>
</action>
<action id="test-translate" name="Translate" url="/tao/Translation/translate" context="instance" group="tree" binding="translateTest">
Expand Down

0 comments on commit 0a73efa

Please sign in to comment.