Last change
on this file since 667 was
542,
checked in by nanardon, 15 years ago
|
- split address list into separate template
|
-
Property svn:keywords set to
Id Rev
|
File size:
892 bytes
|
Line | |
---|
1 | <!-- $Id$ --> |
---|
2 | [% IF user %] |
---|
3 | <form action="[% c.uri_for(username, subform) %]" method="POST"> |
---|
4 | <table border="1"> |
---|
5 | [% FOREACH idaddress = user.get_c_field('otheraddress') %] |
---|
6 | [% laddress = c.model('Accounts').db.get_object('address', idaddress) %] |
---|
7 | <tr> |
---|
8 | <td>[% IF laddress.get_c_field('isMainAddress') %] |
---|
9 | <img src="[% c.uri_for('/static', 'images', 'mail-mark-important.png') %]"> |
---|
10 | [% END %]</td> |
---|
11 | <td> |
---|
12 | <form action="[% c.uri_for(username, subform) %]" method="POST"> |
---|
13 | <input type="hidden" name="delete" value="[% idaddress | html %]"> |
---|
14 | <input type="image" value="Effacer" title="Supprimer" alt="effacer" src="[% c.uri_for('/static', 'images', 'edit-delete.png') %]"> |
---|
15 | </form> |
---|
16 | </td> |
---|
17 | <th><a href="[% c.uri_for(username, subform, idaddress) %]"> |
---|
18 | [% laddress.get_c_field('l') || idaddress | html %] |
---|
19 | </a></th> |
---|
20 | </tr> |
---|
21 | [% END %] |
---|
22 | </table> |
---|
23 | </form> |
---|
24 | |
---|
25 | [% END %] |
---|
Note: See
TracBrowser
for help on using the repository browser.