Parent Directory | Revision Log
very crude brain dump of various changes: - introduce command ACL in Arh::DefaultACL which allmost all modes use - rewrite most templates and implement crude hack Arch::Web::Material to render special type of form to add singe material - version bump [0.02]
1 | dpavlin | 2 | use strict; |
2 | use warnings; | ||
3 | |||
4 | package Arh::Model::Chronology; | ||
5 | use Jifty::DBI::Schema; | ||
6 | |||
7 | use Arh::Record schema { | ||
8 | |||
9 | column name => | ||
10 | type is 'text', | ||
11 | label is _("Name"), | ||
12 | is mandatory; | ||
13 | |||
14 | column year_from => | ||
15 | type is 'text', | ||
16 | label is _("From year"); | ||
17 | |||
18 | column year_to => | ||
19 | type is 'text', | ||
20 | label is _("To year"); | ||
21 | |||
22 | column part_of => | ||
23 | label is _("Part of"), | ||
24 | refers_to Arh::Model::Chronology; | ||
25 | |||
26 | }; | ||
27 | |||
28 | dpavlin | 10 | #use Jifty::Plugin::ActorMetadata::Mixin::Model::ActorMetadata; # created_by, created_on, updated_on |
29 | |||
30 | dpavlin | 2 | # Your model-specific methods go here. |
31 | |||
32 | dpavlin | 4 | sub since { '0.0.3' } |
33 | dpavlin | 2 | |
34 | dpavlin | 13 | use Arh::DefaultACL; |
35 | dpavlin | 10 | |
36 | dpavlin | 2 | 1; |
37 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |