Changeset 1662 for trunk/LATMOS-Accounts-Web/root
- Timestamp:
- 01/26/16 18:42:54 (8 years ago)
- Location:
- trunk/LATMOS-Accounts-Web/root/html/users
- Files:
-
- 1 deleted
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/root/html/users/Display.tt
r1661 r1662 9 9 [% INCLUDE 'includes/form.tt' 10 10 form = form 11 form_uri = c.uri_for( username, subform) %]11 form_uri = c.uri_for('/' _ c.req.path) %] 12 12 </div> 13 13 [% END %] -
trunk/LATMOS-Accounts-Web/root/html/users/address.tt
r1211 r1662 16 16 [% loop.count %]: 17 17 [% IF address.id != idaddress %] 18 <a href="[% c.uri_for(username, subform, idaddress) %]">18 <a href="[% c.uri_for(username, 'address', idaddress) %]"> 19 19 [% END %] 20 20 … … 35 35 36 36 [% IF laddress.base.check_acl(laddress, '@DELETE', 'w') %] 37 <form action="[% c.uri_for(username, subform) %]" method="POST"37 <form action="[% c.uri_for(username, 'address') %]" method="POST" 38 38 style="display:inline"> 39 39 <input type="hidden" name="del_addr" value="[% laddress.id | html %]"> … … 49 49 [% IF NOT laddress.get_c_field('isMainAddress') %] 50 50 <td> 51 <form action="[% c.uri_for( username, subform) %]" method="POST"51 <form action="[% c.uri_for('/users', username, 'address') %]" method="POST" 52 52 style="display:inline;"> 53 53 <input type="hidden" name="main" value="[% laddress.id | html %]"> … … 68 68 c.model('Accounts').db.check_acl('address', '@CREATE', 'w') %] 69 69 <tr><td colspan=3 align="center"> 70 <form action="[% c.uri_for( username, subform) %]" method="POST">70 <form action="[% c.uri_for('/users', username, 'address') %]" method="POST"> 71 71 <input type="hidden" name="add_addr" value="1"> 72 72 <input type="submit" value="Ajouter une addresse"> … … 80 80 [% IF address %] 81 81 82 <form action="[% c.uri_for( username, subform, address.id) %]" method="POST">82 <form action="[% c.uri_for('/users', username, 'address', address.id) %]" method="POST"> 83 83 [% INCLUDE 'users/address_form.tt' %] 84 84 </form> -
trunk/LATMOS-Accounts-Web/root/html/users/employment.tt
r1629 r1662 48 48 49 49 <div style="display: inline-block;"> 50 <form action="[% c.uri_for( username, subform, employment.id || '@create') %]" method="POST">50 <form action="[% c.uri_for('/users', username, 'employment', employment.id || '@create') %]" method="POST"> 51 51 <table border=1> 52 52 [% FOREACH attr = form.attributes %] -
trunk/LATMOS-Accounts-Web/root/html/users/my.tt
r1346 r1662 7 7 8 8 <div id="objectform" class="objectform"> 9 9 [% db = c.model('Accounts').db %] 10 10 11 11 [% FOREACH h = db.search_objects('group', 'managedBy=' _ username) %] -
trunk/LATMOS-Accounts-Web/root/html/users/object_header.tt
r1558 r1662 55 55 56 56 <div id="omenu"> 57 <a href="[% c.uri_for(username) %]"><span [% 'id="oactive"' IF subform == '' %]>Statut RH</span></a>57 <a href="[% c.uri_for(username) %]"><span [% 'id="oactive"' IF subform == '' || subform == 'employment' %]>Statut RH</span></a> 58 58 <a href="[% c.uri_for(username, 'sys') %]"><span [% 'id="oactive"' IF subform == 'sys' %]>SystÚme</span></a> 59 59 <a href="[% c.uri_for(username, 'groups') %]"><span [% 'id="oactive"' IF subform == 'groups' %]>Groupes</span></a>
Note: See TracChangeset
for help on using the changeset viewer.