Commit 8fbfa5bb authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_web_renderjs_ui: keep old icon view

parent b3f3a255
...@@ -28,16 +28,15 @@ ...@@ -28,16 +28,15 @@
possible_sub_header_list = [ possible_sub_header_list = [
['tab_url', 'Views', 'eye'], ['tab_url', 'Views', 'eye'],
['jump_url', 'Jump', 'plane'], ['jump_url', 'Jump', 'plane'],
['actions_url', 'Actions', 'cogs'],
['add_url', 'Add', 'plus'],
['export_url', 'Export', 'share-square-o'],
['delete_url', 'Delete', 'times'], ['delete_url', 'Delete', 'times'],
['export_url', 'Export', 'share-square-o'],
['actions_url', 'Actions', 'cogs'],
['cut_url', 'Cut', 'scissors'], ['cut_url', 'Cut', 'scissors'],
['fast_input_url', 'Fast Input', 'magic'], ['add_url', 'Add', 'plus'],
['previous_url', 'Previous', 'carat-l'], ['previous_url', 'Previous', 'carat-l'],
['next_url', 'Next', 'carat-r'], ['next_url', 'Next', 'carat-r'],
['upload_url', 'Upload', 'upload'], ['edit_content', 'Content', 'file-text'],
['download_url', 'Download', 'download'] ['edit_properties', 'Properties', 'info']
], ],
header_button_template = function (data) { header_button_template = function (data) {
// <form><button name='{{name}}' data-i18n="{{title}}" type='submit' class='ui-icon-{{icon}} ui-btn-icon-left {{class}}'>{{title}}</button></form> // <form><button name='{{name}}' data-i18n="{{title}}" type='submit' class='ui-icon-{{icon}} ui-btn-icon-left {{class}}'>{{title}}</button></form>
...@@ -172,7 +171,15 @@ ...@@ -172,7 +171,15 @@
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;
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>971.18983.58402.648</string> </value> <value> <string>974.60084.41716.55637</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1540898451.07</float> <float>1554815447.7</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