Commit 5f801f23 authored by Gabriel Monnerat's avatar Gabriel Monnerat Committed by Jérome Perrin

CUSTOM: hide columns to select and edit because are useless to display last Suport Requests

> email from Galien Renault with title "Retour livraison interface consulaire" document "Retour livraison
> Interface Consulaire ERP5 .pdf" Suppression des boutons d’action : ““Edit” / “Select”, page 4.1.4 item a page 14
parent 555552eb
...@@ -820,27 +820,31 @@ ...@@ -820,27 +820,31 @@
'text': translation_list[3] 'text': translation_list[3]
})); }));
// Add Do button if (gadget.state.editable) {
// <button {{disabled}} data-rel="hide" data-i18n="Select" name="Hide" type="button" class="ui-icon-check-square-o ui-btn-icon-left {{hide_class}}"></button> // Add Do button
div_element_list.push(domsugar('button', { // <button {{disabled}} data-rel="hide" data-i18n="Select" name="Hide" type="button" class="ui-icon-check-square-o ui-btn-icon-left {{hide_class}}"></button>
'disabled': gadget.state.disabled, div_element_list.push(domsugar('button', {
'data-rel': 'clipboard', 'disabled': gadget.state.disabled,
'name': 'Clipboard', 'data-rel': 'clipboard',
'type': 'button', 'name': 'Clipboard',
'class': 'ui-icon-list-ul ui-btn-icon-left ', 'type': 'button',
'text': translation_list[5] 'class': 'ui-icon-list-ul ui-btn-icon-left ',
})); 'text': translation_list[5]
}));
}
// Add Select button if (gadget.state.show_select) {
// <button {{disabled}} data-rel="hide" data-i18n="Select" name="Hide" type="button" class="ui-icon-check-square-o ui-btn-icon-left {{hide_class}}"></button> // Add Select button
div_element_list.push(domsugar('button', { // <button {{disabled}} data-rel="hide" data-i18n="Select" name="Hide" type="button" class="ui-icon-check-square-o ui-btn-icon-left {{hide_class}}"></button>
'disabled': gadget.state.disabled, div_element_list.push(domsugar('button', {
'data-rel': 'hide', 'disabled': gadget.state.disabled,
'name': 'Hide', 'data-rel': 'hide',
'type': 'button', 'name': 'Hide',
'class': 'ui-icon-check-square-o ui-btn-icon-left ' + gadget.state.hide_class, 'type': 'button',
'text': translation_list[1] 'class': 'ui-icon-check-square-o ui-btn-icon-left ' + gadget.state.hide_class,
})); 'text': translation_list[1]
}));
}
} }
if (gadget.state.show_anchor) { if (gadget.state.show_anchor) {
......
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