~jfb-tempo-consulting/unifield-web/jfb-int2

« back to all changes in this revision

Viewing changes to addons/openerp/controllers/templates/shortcut_tooltip.mako

  • Committer: jf
  • Date: 2022-05-10 09:59:05 UTC
  • mfrom: (5033.1.2 banner-help-web)
  • Revision ID: jfb@tempo-consulting.fr-20220510095905-ckd2063tpoa1jsfq
Tags: uf25.0rc1
US-9815 [IMP] Link to User Manual, shorcut banner replaced by User Manual message

lp:~jfb-tempo-consulting/unifield-web/US-9815

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<%
2
2
# put in try block to prevent improper redirection on connection refuse error
3
3
try:
4
 
    SHORTCUT = cp.request.pool.get_controller("/openerp/shortcut_tooltip")
5
 
    display_message = SHORTCUT.get_show_shortcut()
 
4
    #SHORTCUT = cp.request.pool.get_controller("/openerp/shortcut_tooltip")
 
5
    #display_message = SHORTCUT.get_show_shortcut()
 
6
    display_message = False
6
7
    message = _("You haven't recently used a keyboard shortcut. You can see what shortcuts are available on this screen by holding SHIFT + CTRL.")
7
8
except:
8
9
    display_message = False