/[A3C]/lib/A3C/Model/User.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/A3C/Model/User.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 23 by dpavlin, Mon Mar 17 13:02:50 2008 UTC revision 32 by dpavlin, Tue Mar 18 19:03:53 2008 UTC
# Line 22  use A3C::Record schema { Line 22  use A3C::Record schema {
22    
23          column cn =>          column cn =>
24                  label is _('Ime i prezime'),                  label is _('Ime i prezime'),
25                  type is 'virtual';                  is mandatory;
26    
27          column sn =>          column sn =>
                 type is 'virtual',  
28                  label is _('Prezime'),                  label is _('Prezime'),
29                  is mandatory;                  is mandatory;
30    
31          column givenName =>          column givenName =>
                 type is 'virtual',  
32                  label is _('Ime'),                  label is _('Ime'),
33                  is mandatory;                  is mandatory;
34    
# Line 150  use A3C::Record schema { Line 148  use A3C::Record schema {
148                  ],                  ],
149                  default is '';                  default is '';
150    
151            column organization =>
152                    refers_to A3C::Model::Organization by 'id',
153                    is mandatory;
154    
155          column hrEduPersonAffiliation =>          column hrEduPersonAffiliation =>
156                  label is _('Povezanost s ustanovom'),                  label is _('Povezanost s ustanovom'),
157                  is mandatory,                  is mandatory,
# Line 253  use A3C::Record schema { Line 255  use A3C::Record schema {
255                  label is 'Pripadnost grupi',                  label is 'Pripadnost grupi',
256                  hint is 'skolskagodina::razred';                  hint is 'skolskagodina::razred';
257    
         column o =>  
                 label is _('Naziv matične ustanove'),  
                 is mandatory;  
           
         column hrEduPersonHomeOrg =>  
                 label is _('Oznaka matične ustanove'),  
                 hint is 'CARNet',  
                 is mandatory;  
   
258          column ou =>          column ou =>
259                  label is _('Organizacijska jedinica');                  label is _('Organizacijska jedinica');
260                    
261          column roomNumber =>          column roomNumber =>
262                  label is _('Broj sobe');                  label is _('Broj sobe');
263    
         column postalAddress =>  
                 label is _('Poštanska adresa'),  
                 render as 'textarea',  
                 is mandatory;  
           
         column l =>  
                 label is _('Mjesto'),  
                 hist is 'Zagreb',  
                 is mandatory;  
   
         column postalCode =>  
                 label is _('Poštanski broj'),  
                 hint is 'HR-10000';  
   
         column street =>  
                 label is _('Ulica i kućni broj');  
           
264          column homePostalAddress =>          column homePostalAddress =>
265                  label is _('Kućna poštanska adresa'),                  label is _('Kućna poštanska adresa'),
266                  render as 'textarea';                  render as 'textarea';
# Line 312  use A3C::Record schema { Line 288  use A3C::Record schema {
288          column homeDirectory =>          column homeDirectory =>
289                  label is _('home');                  label is _('home');
290    
         column objectClass =>  
                 type is 'virtual';  
   
291  };  };
292    
293  # we don't use following mixing because it wants to send notificaitons on e-mail address change  # we don't use following mixing because it wants to send notificaitons on e-mail address change

Legend:
Removed from v.23  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.26