Commit 70345b2f authored by Klaus Wölfel's avatar Klaus Wölfel

Revert "erp5_web_renderjs_ui: keep old icon view"

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