source: trunk/LATMOS-Accounts-Web/root/html/includes/obj_prev_next.tt @ 1162

Last change on this file since 1162 was 1162, checked in by nanardon, 12 years ago

fix conflict

  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
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="[%
10nav.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="[%
16nav.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="[%
22nav.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="[%
28nav.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="[%
44c.uri_for('/static', 'images', 'gtk-jump-to-rtl.png') %]" class="attrbutton">
45</p>
46</form>
47[% END %]
48
49</div>
Note: See TracBrowser for help on using the repository browser.