- Timestamp:
- 05/29/15 17:30:52 (9 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Model/AttrForms.pm
r1333 r1346 180 180 name => 'Services', 181 181 attrs => [ qw( 182 description 183 comment 182 type 183 description 184 comment 185 start 186 end 184 187 manager 185 188 dependOn -
trunk/LATMOS-Accounts-Web/root/html/users/my.tt
r1211 r1346 7 7 8 8 <div id="objectform" class="objectform"> 9 10 [% FOREACH reqid = db.list_request_by_object('user', username) %]11 [% IF loop.first %]12 <p>Requêtes de modification</p>13 <ul>14 [% END %]15 [% req = db.get_datarequest(reqid) %]16 [% req.accreq.get_attributes('description') || req.accreq.id |17 truncate(20) | html %],18 [% req.apply | html %],19 [% user = req.o_user %]20 [% IF user %]21 [% dsn = user.get_attributes('displayName') %]22 [% IF dsn %]23 [% dsn | truncate(20) | html %]24 ([% user.id | html %])25 [% ELSE %]26 [% user.id | html %]27 [% END %]28 [% END %]29 30 31 [% FOREACH attr = req.attributes %]32 [% IF loop.first %]33 <ul>34 [% END %]35 <li>[% attr | html %]: [% req.get_attributes(attr) | html %]</li>36 [% IF loop.last %]37 </ul>38 [% END %]39 [% END %]40 [% IF loop.last %]41 </ul>42 [% END %]43 [% END %]44 45 46 [% FOREACH reqid = db.list_requests_by_submitter(username) %]47 [% IF loop.first %]48 <p>Mes requêtes en attente</p>49 <table border=1>50 [% END %]51 [% req = db.get_datarequest(reqid) %]52 <tr>53 <td>54 [% req.accreq.get_attributes('description') || req.accreq.id |55 truncate(20) | html %]56 </td>57 <td>58 [% req.apply | html %]59 </td>60 <td>61 [% obj = req.oobject %]62 [% obj.otype | html %]63 [% obj.get_attributes('displayName') | html %]64 </td>65 <td>66 </td>67 </tr>68 [% IF loop.last %]69 </table>70 [% END %]71 [% END %]72 9 73 10 -
trunk/LATMOS-Accounts/bin/la-sql-upgrade.in
r1344 r1346 383 383 CREATE TABLE service 384 384 ( 385 385 "start" date, 386 "end" date, 386 387 CONSTRAINT service_pkey PRIMARY KEY (name), 387 388 CONSTRAINT service_ikey_uniq UNIQUE (ikey) … … 502 503 EXECUTE PROCEDURE service_sort_fields(); 503 504 504 },505 q{506 505 CREATE TRIGGER service_rev_tg 507 506 BEFORE INSERT OR UPDATE OR DELETE -
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Service.pm
r1315 r1346 33 33 date => { ro => 1, inline => 1, }, 34 34 create => { ro => 1, inline => 1, }, 35 start => { inline => 1, formtype => 'DATE', }, 36 end => { inline => 1, formtype => 'DATE', }, 37 type => { }, 38 35 39 dependOn => { 36 40 multiple => 1, -
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/objects.pm
r1345 r1346 102 102 }, 103 103 }, 104 services => { multiple => 1, reference => 'service' },104 services => { inline => 1, multiple => 1, reference => 'service' }, 105 105 ); 106 106
Note: See TracChangeset
for help on using the changeset viewer.