~alexaubin/unifield-web/US-2937

« back to all changes in this revision

Viewing changes to addons/openerp/widgets/templates/pager.mako

  • Committer: jf
  • Date: 2017-08-21 08:20:34 UTC
  • mfrom: (4847.1.5 unifield-web)
  • Revision ID: jfb@tempo-consulting.fr-20170821082034-nnik6jj2vq5eccoo
US-2869 [IMP] Keyboard shortcuts

lp:~fabien-morin/unifield-web/fm-us-2869

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<div class="pager">
5
5
    <p id="_${name+str(pager_id)}_link_span" class="paging">
6
6
        % if prev:
7
 
        <a href="#first" action="first" relation="${name}" onclick="validate_action(this, pager_action); return false;">
 
7
        <a href="#first" class="oe_button_pager" action="first" relation="${name}" onclick="validate_action(this, pager_action); return false;">
8
8
        % endif
9
9
        <span class="first nav${' ' if prev else ' inactive'}">${_("<< First")}</span>
10
10
        % if prev:
11
11
        </a>
12
 
        <a href="#previous" action="previous" relation="${name}" onclick="validate_action(this, pager_action); return false;">
 
12
        <a href="#previous" class="oe_button_pager" action="previous" relation="${name}" onclick="validate_action(this, pager_action); return false;">
13
13
        % endif
14
14
        <span class="prev nav${' ' if prev else ' inactive'}">${_("< Previous")}</span>
15
15
        % if prev:
19
19
            ${page_info} ${_('of')} ${approximation and '~' or ''}${count}
20
20
        </span>
21
21
        % if next:
22
 
        <a href="#next" action="next" relation="${name}" onclick="validate_action(this, pager_action); return false;">
 
22
        <a href="#next" class="oe_button_pager" action="next" relation="${name}" onclick="validate_action(this, pager_action); return false;">
23
23
        % endif
24
24
        <span class="next nav${' ' if next else ' inactive'}">${_("Next >")}</span>
25
25
        % if next:
26
26
        </a>
27
27
        % endif
28
28
        % if next and not approximation:
29
 
        <a href="#last" action="last" relation="${name}" onclick="validate_action(this, pager_action); return false;">
 
29
        <a href="#last" class="oe_button_pager" action="last" relation="${name}" onclick="validate_action(this, pager_action); return false;">
30
30
        % endif
31
31
        % if not approximation:
32
32
        <span class="last nav ${' ' if next else ' inactive'}">${_("Last >>")}</span>