Last change
on this file since 1081 was
1081,
checked in by nanardon, 12 years ago
|
Use a generic filter to list objects
|
File size:
433 bytes
|
Line | |
---|
1 | [% FOREACH h = c.model('Accounts').db.search_objects('accreq', 'exported=*') %] |
---|
2 | [% IF loop.first %] |
---|
3 | <h3>Formuler une demande:</h3> |
---|
4 | <ul> |
---|
5 | [% END %] |
---|
6 | [% o = c.model('Accounts').db.get_object('accreq', h) %] |
---|
7 | <li> |
---|
8 | <a href="[% c.uri_for('/request', h) %]"> |
---|
9 | [% o.get_attributes('description') || o.id | html %] |
---|
10 | </a> |
---|
11 | </li> |
---|
12 | [% IF loop.last %] |
---|
13 | </ul> |
---|
14 | [% END %] |
---|
15 | [% END %] |
---|
16 | |
---|
17 | <h3><a href="[% c.uri_for('/admin') |
---|
18 | %]">Administration...</a></li> |
---|
19 | </h3> |
---|
Note: See
TracBrowser
for help on using the repository browser.