Commit 44334150 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Remove delete from the action page

parent f58ef4fb
...@@ -79,16 +79,14 @@ ...@@ -79,16 +79,14 @@
action_list = ensureArray(jio_attachment._links.action_object_jio_action) action_list = ensureArray(jio_attachment._links.action_object_jio_action)
.concat(ensureArray(jio_attachment._links.action_object_jio_button)) .concat(ensureArray(jio_attachment._links.action_object_jio_button))
.concat(ensureArray(jio_attachment._links.action_object_jio_fast_input)), .concat(ensureArray(jio_attachment._links.action_object_jio_fast_input)),
clone_list = ensureArray(jio_attachment._links.action_object_clone_action), clone_list = ensureArray(jio_attachment._links.action_object_clone_action);
delete_list = ensureArray(jio_attachment._links.action_object_delete_action);
erp5_document = jio_attachment; erp5_document = jio_attachment;
return RSVP.all([ return RSVP.all([
renderLinkList(gadget, "Workflows", "random", transition_list), renderLinkList(gadget, "Workflows", "random", transition_list),
renderLinkList(gadget, "Actions", "gear", action_list), renderLinkList(gadget, "Actions", "gear", action_list),
renderLinkList(gadget, "Clone", "clone", clone_list), renderLinkList(gadget, "Clone", "clone", clone_list)
renderLinkList(gadget, "Delete", "trash-o", delete_list)
]); ]);
}) })
.push(function (translated_html_link_list) { .push(function (translated_html_link_list) {
......
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.5224.10569.36898</string> </value> <value> <string>972.47025.43931.43690</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536227065.3</float> <float>1546427153.93</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment