diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-04-26 13:37:27 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-04-27 14:14:54 +0200 |
| commit | b0cfcfaf3033bd4b928acb28bd893c7d87336f93 (patch) | |
| tree | e95d826401981c11b091e52b636a9174c1a344ac /addons/web/static/src/xml | |
| parent | f321466a695b63ae3cb06a37215aff49c702ed4e (diff) | |
[IMP] web: Shortcuts easier to use (lowercase)
By putting the shortcuts lowercase, it is easier to remember and to user.
Instead of Alt + Shift + letter, we have Alt + letter for Windows and Linus users
Instead of Control + Alt + Shift + letter, we have Control + Alt + letter for mac users
The combinations Alt + d and Alt + e are reserved to the browsers, so other letters are chosen
for these actions
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 2cb71a0574b..5fe0d350d0f 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -358,14 +358,14 @@ <t t-if="!widget.no_leaf and widget.options.action_buttons !== false"> <div class="o_list_buttons"> <t t-if="widget.options.addable and widget.is_action_enabled('create')"> - <button type="button" class="btn btn-primary btn-sm o_list_button_add" accesskey="C"> + <button type="button" class="btn btn-primary btn-sm o_list_button_add" accesskey="c"> <t t-esc="widget.options.addable"/> </button> </t> - <button type="button" class="btn btn-primary btn-sm o_list_button_save" accesskey="S"> + <button type="button" class="btn btn-primary btn-sm o_list_button_save" accesskey="s"> Save </button> - <button type="button" class="btn btn-default btn-sm o_list_button_discard" accesskey="D"> + <button type="button" class="btn btn-default btn-sm o_list_button_discard" accesskey="j"> Discard </button> </div> @@ -430,21 +430,21 @@ <t t-name="FormView.buttons"> <div class="o_form_buttons_view"> <button t-if="widget.is_action_enabled('edit')" type="button" - class="btn btn-primary btn-sm o_form_button_edit" accesskey="E"> + class="btn btn-primary btn-sm o_form_button_edit" accesskey="a"> Edit </button> <button t-if="widget.is_action_enabled('create')" type="button" - class="btn btn-default btn-sm o_form_button_create" accesskey="C"> + class="btn btn-default btn-sm o_form_button_create" accesskey="c"> Create </button> </div> <div class="o_form_buttons_edit"> <button type="button" - class="btn btn-primary btn-sm o_form_button_save" accesskey="S"> + class="btn btn-primary btn-sm o_form_button_save" accesskey="s"> Save </button> <button type="button" - class="btn btn-default btn-sm o_form_button_cancel" accesskey="D"> + class="btn btn-default btn-sm o_form_button_cancel" accesskey="j"> Discard </button> </div> @@ -1233,8 +1233,8 @@ <span class="btn-group btn-group-sm"> <!-- accesskeys not wanted in X2Many widgets --> <t t-if="!widget.getParent().x2m"> - <t t-set="att_prev" t-value="{'accesskey': 'O'}" /> - <t t-set="att_next" t-value="{'accesskey': 'P'}" /> + <t t-set="att_prev" t-value="{'accesskey': 'p'}" /> + <t t-set="att_next" t-value="{'accesskey': 'n'}" /> </t> <button type="button" class="fa fa-chevron-left btn btn-icon o_pager_previous" t-att="att_prev"/> <button type="button" class="fa fa-chevron-right btn btn-icon o_pager_next" t-att="att_next"/> |
