Commit a8387b22 authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Titouan Soulard

erp5_web_renderjs_ui: keep old icon view

parent 3f1f2ca4
......@@ -28,16 +28,15 @@
possible_sub_header_list = [
['tab_url', 'Views', 'eye'],
['jump_url', 'Jump', 'plane'],
['actions_url', 'Actions', 'cogs'],
['add_url', 'Add', 'plus'],
['export_url', 'Export', 'share-square-o'],
['delete_url', 'Delete', 'times'],
['export_url', 'Export', 'share-square-o'],
['actions_url', 'Actions', 'cogs'],
['cut_url', 'Cut', 'scissors'],
['fast_input_url', 'Fast Input', 'magic'],
['add_url', 'Add', 'plus'],
['previous_url', 'Previous', 'carat-l'],
['next_url', 'Next', 'carat-r'],
['upload_url', 'Upload', 'upload'],
['download_url', 'Download', 'download']
['edit_content', 'Content', 'file-text'],
['edit_properties', 'Properties', 'info']
],
promiseHeaderButton = function (gadget, data) {
return gadget.translate(data.title)
......@@ -174,7 +173,15 @@
klass,
sub_header_list = [],
i;
if (options.hasOwnProperty('save_action') && options['save_action']){
options['delete_url'] = ''
options['cut_url'] = ''
delete options['previous_url']
delete options['next_url']
}
if (options.hasOwnProperty('filter_action') && options['filter_action']) {
options['cut_url'] = ''
}
// Main title
if (options.hasOwnProperty("page_title")) {
state.title_text = options.page_title;
......
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