Commit bbb4585e authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_hal_json_style: return icon in order to be possible to define action's icon

parent 9740fe89
......@@ -746,6 +746,7 @@ def calculateHateoas(is_portal=None, is_site_root=None, traversed_document=None,
erp5_action_list.append({
'href': '%s' % view_action['url'],
'name': view_action['id'],
'icon': view_action['icon'],
'title': Base_translateString(view_action['title'])
})
# Try to embed the form in the result
......
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