Parent Directory | Revision Log
- move organisations in own model - more general ldap2model sub will try to fill model with ldap entry data
1 | dpavlin | 32 | use strict; |
2 | use warnings; | ||
3 | |||
4 | package A3C::Model::Organization; | ||
5 | use Jifty::DBI::Schema; | ||
6 | |||
7 | use A3C::Record schema { | ||
8 | |||
9 | column o => | ||
10 | label is _('Naziv matične ustanove'), | ||
11 | is mandatory; | ||
12 | |||
13 | column hrEduPersonHomeOrg => | ||
14 | label is _('Oznaka matične ustanove'), | ||
15 | hint is 'CARNet', | ||
16 | is mandatory; | ||
17 | |||
18 | column l => | ||
19 | label is _('Mjesto'), | ||
20 | hist is 'Zagreb', | ||
21 | is mandatory; | ||
22 | |||
23 | column postalAddress => | ||
24 | label is _('Poštanska adresa'), | ||
25 | render as 'textarea', | ||
26 | is mandatory; | ||
27 | |||
28 | column postalCode => | ||
29 | label is _('Poštanski broj'), | ||
30 | hint is 'HR-10000'; | ||
31 | |||
32 | column street => | ||
33 | label is _('Ulica i kućni broj'); | ||
34 | |||
35 | |||
36 | }; | ||
37 | |||
38 | # Your model-specific methods go here. | ||
39 | |||
40 | 1; | ||
41 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |