1 | <!-- $Id$ --> |
---|
2 | |
---|
3 | <div id="navigate"> |
---|
4 | <p> |
---|
5 | [% nav = c.model('Accounts').object_navigate(objtype, objname) %] |
---|
6 | |
---|
7 | [% IF nav.ofirst -%] |
---|
8 | <a href="[% c.uri_for(nav.ofirst, subform) %]"> |
---|
9 | <img src="[% c.uri_for('/static', 'images', 'gtk-goto-first-ltr.png') %]" title="[% |
---|
10 | nav.ofirst | html %]" alt="first" class="attr"></a> |
---|
11 | [%- END %] |
---|
12 | |
---|
13 | [% IF nav.oprev %] |
---|
14 | <a href="[% c.uri_for(nav.oprev, subform) %]"> |
---|
15 | <img src="[% c.uri_for('/static', 'images', 'gtk-go-back-ltr.png') %]" title="[% |
---|
16 | nav.oprev | html %]" alt="previous" class="attr"></a> |
---|
17 | [% END %] |
---|
18 | |
---|
19 | [% IF nav.onext %] |
---|
20 | <a href="[% c.uri_for(nav.onext, subform) %]"> |
---|
21 | <img src="[% c.uri_for('/static', 'images', 'gtk-go-back-rtl.png') %]" title="[% |
---|
22 | nav.onext | html %]" alt="next" class="attr"></a> |
---|
23 | [% END %] |
---|
24 | |
---|
25 | [% IF nav.olast %] |
---|
26 | <a href="[% c.uri_for(nav.olast, subform) %]"> |
---|
27 | <img src="[% c.uri_for('/static', 'images', 'gtk-goto-first-rtl.png') %]" title="[% |
---|
28 | nav.olast | html %]" alt="last" class="attr"></a> |
---|
29 | [% END %] |
---|
30 | </p> |
---|
31 | |
---|
32 | [% IF nav.list %] |
---|
33 | <form action="[% c.uri_for('/ajax/goto') %]"> |
---|
34 | <p> |
---|
35 | <input type="hidden" name="otype" value="[% objtype | html %]"> |
---|
36 | <input type="hidden" name="subform" value="[% subform | html %]"> |
---|
37 | <select name="goto"> |
---|
38 | [% FOREACH item = nav.list %] |
---|
39 | <option value="[% item | html %]" [% 'selected="selected"' IF item == objname |
---|
40 | %]>[% item | html %]</option> |
---|
41 | [% END %] |
---|
42 | </select> |
---|
43 | <input type="image" alt="Go To" title="Aller à " src="[% |
---|
44 | c.uri_for('/static', 'images', 'gtk-jump-to-rtl.png') %]" class="attrbutton"> |
---|
45 | </p> |
---|
46 | </form> |
---|
47 | [% END %] |
---|
48 | |
---|
49 | </div> |
---|