ecm_staff 0.0.1.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +27 -0
  4. data/app/admin/ecm_staff_business_units.rb +88 -0
  5. data/app/admin/ecm_staff_organisations.rb +59 -0
  6. data/app/admin/ecm_staff_people.rb +105 -0
  7. data/app/admin/ecm_staff_person_positions.rb +53 -0
  8. data/app/admin/ecm_staff_positions.rb +68 -0
  9. data/app/assets/stylesheets/ecm/staff/person.css.erb +7 -0
  10. data/app/assets/stylesheets/ecm/staff/person_position.css.erb +32 -0
  11. data/app/assets/stylesheets/ecm_staff.css +3 -0
  12. data/app/assets/stylesheets/ecm_staff_active_admin.css.scss.erb +14 -0
  13. data/app/controllers/ecm/staff/business_units_controller.rb +11 -0
  14. data/app/controllers/ecm/staff/organisations_controller.rb +7 -0
  15. data/app/controllers/ecm/staff/people_controller.rb +11 -0
  16. data/app/models/ecm/staff/base.rb +9 -0
  17. data/app/models/ecm/staff/business_unit.rb +57 -0
  18. data/app/models/ecm/staff/organisation.rb +42 -0
  19. data/app/models/ecm/staff/person.rb +94 -0
  20. data/app/models/ecm/staff/person_position.rb +23 -0
  21. data/app/models/ecm/staff/position.rb +50 -0
  22. data/app/views/bootstrap/_media_list_item.html.erb +17 -0
  23. data/app/views/ecm/staff/business_units/_business_unit_list_item.html.erb +17 -0
  24. data/app/views/ecm/staff/business_units/index.html.erb +5 -0
  25. data/app/views/ecm/staff/organisations/_organisation.html.erb +9 -0
  26. data/app/views/ecm/staff/organisations/index.html.erb +5 -0
  27. data/app/views/ecm/staff/people/_person.html.erb +17 -0
  28. data/app/views/ecm/staff/people/_person_in_index.html.erb +20 -0
  29. data/app/views/ecm/staff/people/_person_positions_table.html.erb +14 -0
  30. data/app/views/ecm/staff/people/index.html.erb +3 -0
  31. data/app/views/ecm/staff/people/show.html.erb +7 -0
  32. data/app/views/ecm/staff/person_positions/_person_position.html.erb +5 -0
  33. data/app/views/ecm/staff/person_positions/_person_position_as_table_row.html.erb +5 -0
  34. data/db/migrate/001_create_ecm_staff_organisations.rb +16 -0
  35. data/db/migrate/002_create_ecm_staff_business_units.rb +26 -0
  36. data/db/migrate/003_create_ecm_staff_positions.rb +23 -0
  37. data/db/migrate/004_create_ecm_staff_person_positions.rb +17 -0
  38. data/db/migrate/005_create_ecm_staff_people.rb +22 -0
  39. data/db/migrate/006_create_ecm_staff_organisation_translations.rb +15 -0
  40. data/db/migrate/007_create_ecm_staff_business_unit_translations.rb +15 -0
  41. data/db/migrate/008_create_ecm_staff_position_translations.rb +15 -0
  42. data/db/migrate/009_create_ecm_staff_person_translations.rb +15 -0
  43. data/lib/ecm/staff/configuration.rb +25 -0
  44. data/lib/ecm/staff/engine.rb +14 -0
  45. data/lib/ecm/staff/exceptions.rb +7 -0
  46. data/lib/ecm/staff/routing.rb +19 -0
  47. data/lib/ecm/staff/version.rb +6 -0
  48. data/lib/ecm_staff.rb +21 -0
  49. data/lib/generators/ecm/staff/install/install_generator.rb +15 -0
  50. data/lib/generators/ecm/staff/install/templates/ecm_staff.rb +16 -0
  51. data/lib/generators/ecm/staff/locales/locales_generator.rb +16 -0
  52. data/lib/generators/ecm/staff/locales/templates/de.yml +77 -0
  53. data/lib/generators/ecm/staff/locales/templates/en.yml +77 -0
  54. data/lib/tasks/ecm_staff_tasks.rake +4 -0
  55. metadata +680 -0
@@ -0,0 +1,77 @@
1
+ de:
2
+ attributes:
3
+ created_at: Erstellt am
4
+ depth: Tiefe
5
+ description: Beschreibung
6
+ markup_language: Markup Sprache
7
+ name: Name
8
+ updated_at: Aktualisiert am
9
+
10
+ activerecord:
11
+ models:
12
+ ecm/staff/business_unit:
13
+ one: Abteilung
14
+ other: Abteilungen
15
+ ecm/staff/organisation:
16
+ one: Unternehmen
17
+ other: Unternehmen
18
+ ecm/staff/person:
19
+ one: Mitarbeiter
20
+ other: Mitarbeiter
21
+ ecm/staff/person_position:
22
+ one: Besetzte Position
23
+ other: Besetzte Positionen
24
+ ecm/staff/position:
25
+ one: Position
26
+ other: Positionen
27
+
28
+ attributes:
29
+
30
+ ecm/staff/business_unit:
31
+ children: Untergeordnete Abteilungen
32
+ organisation: Unternehmen
33
+ parent: Übgergeordnete Abteilung
34
+ people_count: Mitarbeiter
35
+ person_positions: Besetzte Positionen
36
+
37
+ ecm/staff/organisation:
38
+ business_units: Untergeordnete Abteilungen
39
+
40
+ ecm/staff/person:
41
+ age: Alter
42
+ birthdate: Geburtsdatum
43
+ firstname: Vorname
44
+ fullname: Name
45
+ lastname: Nachname
46
+ person_positions: Besetzte Positionen
47
+ position: Position
48
+ prefix: Prefix
49
+ preview_picture: Bild
50
+
51
+ ecm/staff/person_position:
52
+ begin_at: Seit
53
+ business_unit: Abteilung
54
+ end_at: Bis
55
+ organisation: Unternehmen
56
+ person: Mitarbeiter
57
+ position: Position
58
+
59
+ ecm/staff/position:
60
+ parent: Übergeordnete Position
61
+ people_count: Mitarbeiter
62
+
63
+ ecm:
64
+ staff:
65
+ active_admin:
66
+ menu: Mitarbeiter
67
+
68
+ resources:
69
+ ecm_staff_business_units: abteilungen
70
+ ecm_staff_organisations: unternehmen
71
+ ecm_staff_people: mitarbeiter
72
+ ecm_staff_person_positions: besetzte-positionen
73
+ ecm_staff_positions: positionen
74
+
75
+ views:
76
+ actions:
77
+ back: 'Zurück'
@@ -0,0 +1,77 @@
1
+ en:
2
+ attributes:
3
+ created_at: created at
4
+ depth: depth
5
+ description: description
6
+ markup_language: markup language
7
+ name: name
8
+ updated_at: updated at
9
+
10
+ activerecord:
11
+ models:
12
+ ecm/staff/business_unit:
13
+ one: business unit
14
+ other: business units
15
+ ecm/staff/organisation:
16
+ one: organisation
17
+ other: organisations
18
+ ecm/staff/person:
19
+ one: person
20
+ other: people
21
+ ecm/staff/person_position:
22
+ one: person position
23
+ other: person positions
24
+ ecm/staff/position:
25
+ one: position
26
+ other: positions
27
+
28
+ attributes:
29
+
30
+ ecm/staff/business_unit:
31
+ children: sub business units
32
+ organisation: organisation
33
+ parent: parent organisation
34
+ people_count: people count
35
+ person_position: person positions
36
+
37
+ ecm/staff/organisation:
38
+ business_units: sub organisations
39
+
40
+ ecm/staff/person:
41
+ age: age
42
+ birthdate: date of birth
43
+ firstname: firstname
44
+ fullname: name
45
+ lastname: lastname
46
+ person_position: person positions
47
+ position: position
48
+ prefix: prefix
49
+ preview_picture: picture
50
+
51
+ ecm/staff/person_position:
52
+ begin_at: begin at
53
+ business_unit: business unit
54
+ end_at: end at
55
+ organisation: organisation
56
+ person: person
57
+ position: position
58
+
59
+ ecm/staff/position:
60
+ parent: parent position
61
+ people_count: people
62
+
63
+ ecm:
64
+ staff:
65
+ active_admin:
66
+ menu: staff
67
+
68
+ resources:
69
+ ecm_staff_business_units: business-units
70
+ ecm_staff_organisations: organisations
71
+ ecm_staff_people: people
72
+ ecm_staff_person_positions: person-positions
73
+ ecm_staff_positions: positions
74
+
75
+ views:
76
+ actions:
77
+ back: 'back'
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :ecm_staff do
3
+ # # Task goes here
4
+ # end