gaku_core 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/{pictures/thumb/missing.png → missing_original.png} +0 -0
- data/app/assets/images/missing_thumb.png +0 -0
- data/app/controllers/gaku/{gaku_controller.rb → core_controller.rb} +5 -34
- data/app/decorators/gaku/course_decorator.rb +15 -0
- data/app/decorators/gaku/person_decorator.rb +1 -1
- data/app/decorators/gaku/student_decorator.rb +24 -7
- data/app/models/concerns/pagination.rb +8 -0
- data/app/models/concerns/person.rb +11 -0
- data/app/models/concerns/picture.rb +1 -1
- data/app/models/gaku/address.rb +4 -22
- data/app/models/gaku/attachment.rb +0 -2
- data/app/models/gaku/badge.rb +10 -0
- data/app/models/gaku/badge_type.rb +15 -0
- data/app/models/gaku/class_group.rb +1 -1
- data/app/models/gaku/class_group_enrollment.rb +2 -2
- data/app/models/gaku/contact.rb +8 -23
- data/app/models/gaku/contact_type.rb +1 -1
- data/app/models/gaku/country.rb +1 -0
- data/app/models/gaku/course_enrollment.rb +6 -0
- data/app/models/gaku/course_group.rb +0 -2
- data/app/models/gaku/department.rb +4 -0
- data/app/models/gaku/enrollment_status.rb +1 -1
- data/app/models/gaku/exam.rb +3 -1
- data/app/models/gaku/exam_portion.rb +1 -1
- data/app/models/gaku/external_school_record.rb +22 -7
- data/app/models/gaku/extracurricular_activity.rb +1 -1
- data/app/models/gaku/grading_method.rb +2 -1
- data/app/models/gaku/guardian.rb +1 -1
- data/app/models/gaku/level.rb +1 -0
- data/app/models/gaku/preset.rb +35 -62
- data/app/models/gaku/program.rb +1 -0
- data/app/models/gaku/school.rb +6 -1
- data/app/models/gaku/semester.rb +3 -0
- data/app/models/gaku/simple_grade.rb +7 -3
- data/app/models/gaku/simple_grade_type.rb +14 -0
- data/app/models/gaku/specialty.rb +3 -1
- data/app/models/gaku/student.rb +56 -15
- data/app/models/gaku/student_specialty.rb +0 -1
- data/app/models/gaku/syllabus.rb +2 -0
- data/app/models/gaku/teacher.rb +1 -1
- data/app/models/gaku/template.rb +5 -7
- data/app/models/gaku/user.rb +10 -2
- data/app/views/gaku/admin/grading_methods/_arguments_form_fields.html.slim +19 -0
- data/app/views/gaku/admin/grading_methods/_arguments_template.html.slim +11 -0
- data/app/views/gaku/shared/menu/_global.html.erb +2 -26
- data/config/initializers/devise.rb +3 -0
- data/config/initializers/{kaminari_config.rb → kaminari.rb} +0 -0
- data/config/initializers/translation_missing.rb +1 -1
- data/config/locales/bg.yml +287 -167
- data/config/locales/en.yml +148 -37
- data/config/locales/ja.yml +148 -30
- data/config/locales/pt-BR.yml +145 -27
- data/config/locales/zh-CN.yml +145 -27
- data/config/routes.rb +1 -290
- data/db/default/gaku/attendance_types.rb +2 -2
- data/db/default/gaku/commute_method_types.rb +1 -1
- data/db/default/gaku/departments.rb +1 -1
- data/db/default/gaku/presets.rb +33 -0
- data/db/default/gaku/scholarship_statuses.rb +2 -2
- data/db/migrate/20120202111850_presets.rb +30 -0
- data/db/migrate/{20120202111850_translated_tables.rb → 20131014065028_translations.rb} +17 -2
- data/db/migrate/20131025073352_gaku_core.rb +628 -0
- data/db/migrate/20140130182100_change_fields_external_school_record.rb +7 -0
- data/db/migrate/20140131113337_create_student_configs.rb +21 -0
- data/db/migrate/20140207093618_drop_student_configs.rb +5 -0
- data/lib/gaku/core/engine.rb +8 -24
- data/lib/gaku/core.rb +3 -21
- data/lib/gaku/migrations.rb +30 -0
- data/lib/gaku/streamer/sse.rb +22 -0
- data/lib/gaku/testing/auth_helpers.rb +2 -2
- data/lib/gaku/testing/coverage.rb +20 -0
- data/lib/gaku/testing/deferred_garbage_collection.rb +20 -0
- data/lib/gaku/testing/factories/attachment_factory.rb +3 -2
- data/lib/gaku/testing/factories/badge_factory.rb +12 -0
- data/lib/gaku/testing/factories/{achievement_factory.rb → badge_type_factory.rb} +2 -2
- data/lib/gaku/testing/factories/campus_factory.rb +5 -1
- data/lib/gaku/testing/factories/class_group_course_enrollment_factory.rb +8 -0
- data/lib/gaku/testing/factories/class_group_factory.rb +2 -7
- data/lib/gaku/testing/factories/contact_type_factory.rb +1 -1
- data/lib/gaku/testing/factories/country_factory.rb +2 -2
- data/lib/gaku/testing/factories/course_enrollment_factory.rb +4 -0
- data/lib/gaku/testing/factories/course_factory.rb +4 -0
- data/lib/gaku/testing/factories/course_group_factory.rb +4 -0
- data/lib/gaku/testing/factories/exam_factory.rb +10 -2
- data/lib/gaku/testing/factories/exam_portion_factory.rb +5 -1
- data/lib/gaku/testing/factories/external_school_record_factory.rb +14 -0
- data/lib/gaku/testing/factories/extracurricular_activity_factory.rb +4 -0
- data/lib/gaku/testing/factories/guardian_factory.rb +4 -1
- data/lib/gaku/testing/factories/level_factory.rb +1 -1
- data/lib/gaku/testing/factories/preset_factory.rb +17 -0
- data/lib/gaku/testing/factories/program_factory.rb +1 -1
- data/lib/gaku/testing/factories/school_factory.rb +5 -1
- data/lib/gaku/testing/factories/school_year_factory.rb +5 -0
- data/lib/gaku/testing/factories/semester_factory.rb +5 -0
- data/lib/gaku/testing/factories/simple_grade_factory.rb +7 -3
- data/lib/gaku/testing/factories/simple_grade_type_factory.rb +13 -0
- data/lib/gaku/testing/factories/student_specialty_factory.rb +4 -0
- data/lib/gaku/testing/factories/template_factory.rb +7 -0
- data/lib/gaku/testing/factories/traits.rb +8 -0
- data/lib/generators/gaku/dummy/templates/rails/database.yml +2 -0
- data/lib/generators/gaku/install/install_generator.rb +31 -30
- data/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/{all.js → admin/all.js} +1 -5
- data/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/archive/all.js +10 -0
- data/lib/generators/gaku/install/templates/app/assets/javascripts/gaku/frontend/all.js +10 -0
- data/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/{all.css → admin/all.css} +2 -5
- data/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/archive/all.css +9 -0
- data/lib/generators/gaku/install/templates/app/assets/stylesheets/gaku/frontend/all.css +9 -0
- metadata +260 -1560
- data/app/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/bootstrap/glyphicons-halflings.png +0 -0
- data/app/assets/images/dataTables/back_disabled.png +0 -0
- data/app/assets/images/dataTables/back_enabled.png +0 -0
- data/app/assets/images/dataTables/back_enabled_hover.png +0 -0
- data/app/assets/images/dataTables/forward_disabled.png +0 -0
- data/app/assets/images/dataTables/forward_enabled.png +0 -0
- data/app/assets/images/dataTables/forward_enabled_hover.png +0 -0
- data/app/assets/images/dataTables/sort_asc.png +0 -0
- data/app/assets/images/dataTables/sort_asc_disabled.png +0 -0
- data/app/assets/images/dataTables/sort_both.png +0 -0
- data/app/assets/images/dataTables/sort_desc.png +0 -0
- data/app/assets/images/dataTables/sort_desc_disabled.png +0 -0
- data/app/assets/images/tbs-img/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/tbs-img/glyphicons-halflings.png +0 -0
- data/app/assets/javascripts/gaku/admin.coffee +0 -30
- data/app/assets/javascripts/gaku/backbone/collections/attendance_types.js.coffee +0 -2
- data/app/assets/javascripts/gaku/backbone/collections/courses.js.coffee +0 -2
- data/app/assets/javascripts/gaku/backbone/collections/exams.js.coffee +0 -2
- data/app/assets/javascripts/gaku/backbone/models/attendance.js.coffee +0 -1
- data/app/assets/javascripts/gaku/backbone/models/attendance_type.coffee +0 -1
- data/app/assets/javascripts/gaku/backbone/models/calculation.js.coffee +0 -43
- data/app/assets/javascripts/gaku/backbone/models/completed.js.coffee +0 -1
- data/app/assets/javascripts/gaku/backbone/models/course.js.coffee +0 -2
- data/app/assets/javascripts/gaku/backbone/models/exam.js.coffee +0 -1
- data/app/assets/javascripts/gaku/backbone/models/exam_attendance.js.coffee +0 -4
- data/app/assets/javascripts/gaku/backbone/models/exam_portion_score.js.coffee +0 -18
- data/app/assets/javascripts/gaku/backbone/routers/exams_router.js.coffee +0 -22
- data/app/assets/javascripts/gaku/backbone/templates/attendance_chooser.jst.eco +0 -19
- data/app/assets/javascripts/gaku/backbone/templates/tables/attendance_show.jst.eco +0 -3
- data/app/assets/javascripts/gaku/backbone/templates/tables/exam_calculations.jst.eco +0 -39
- data/app/assets/javascripts/gaku/backbone/templates/tables/exam_completion.jst.eco +0 -1
- data/app/assets/javascripts/gaku/backbone/templates/tables/exam_score.jst.eco +0 -53
- data/app/assets/javascripts/gaku/backbone/templates/tables/exam_table.jst.eco +0 -32
- data/app/assets/javascripts/gaku/backbone/templates/tables/exam_user.jst.eco +0 -18
- data/app/assets/javascripts/gaku/backbone/views/exam_attendance.js.coffee +0 -51
- data/app/assets/javascripts/gaku/backbone/views/exam_attendance_show.js.coffee +0 -6
- data/app/assets/javascripts/gaku/backbone/views/exam_calculations.js.coffee +0 -15
- data/app/assets/javascripts/gaku/backbone/views/exam_completion.js.coffee +0 -7
- data/app/assets/javascripts/gaku/backbone/views/exam_portion_score.js.coffee +0 -8
- data/app/assets/javascripts/gaku/backbone/views/exam_score_view.js.coffee +0 -7
- data/app/assets/javascripts/gaku/backbone/views/exam_table_view.js.coffee +0 -227
- data/app/assets/javascripts/gaku/backbone/views/exam_user_view.js.coffee +0 -8
- data/app/assets/javascripts/gaku/class_groups.js.coffee +0 -11
- data/app/assets/javascripts/gaku/courses.js.coffee +0 -12
- data/app/assets/javascripts/gaku/exams.js.coffee +0 -23
- data/app/assets/javascripts/gaku/extracurricular_activities.js.coffee +0 -12
- data/app/assets/javascripts/gaku/gaku.js.coffee +0 -174
- data/app/assets/javascripts/gaku/gaku_core.js +0 -35
- data/app/assets/javascripts/gaku/slide.js.erb +0 -14
- data/app/assets/javascripts/gaku/students.js.coffee +0 -36
- data/app/assets/javascripts/gaku/syllabuses.js.coffee +0 -26
- data/app/assets/javascripts/gaku/teachers.js.coffee +0 -12
- data/app/assets/stylesheets/gaku/admin/disposals.css.scss +0 -14
- data/app/assets/stylesheets/gaku/class_groups.css.scss +0 -19
- data/app/assets/stylesheets/gaku/course_groups.css.scss +0 -14
- data/app/assets/stylesheets/gaku/courses.css.scss +0 -19
- data/app/assets/stylesheets/gaku/exams.css.scss +0 -72
- data/app/assets/stylesheets/gaku/gaku.css.scss +0 -172
- data/app/assets/stylesheets/gaku/gaku_core.css +0 -10
- data/app/assets/stylesheets/gaku/gaku_import.scss +0 -2
- data/app/assets/stylesheets/gaku/students.css.scss +0 -22
- data/app/assets/templates/roster.xls +0 -0
- data/app/controllers/concerns/enrollments_controller.rb +0 -83
- data/app/controllers/concerns/polymorphic_resource_concern.rb +0 -47
- data/app/controllers/concerns/student_chooser_controller.rb +0 -52
- data/app/controllers/gaku/addresses_controller.rb +0 -105
- data/app/controllers/gaku/admin/achievements_controller.rb +0 -64
- data/app/controllers/gaku/admin/attendance_types_controller.rb +0 -60
- data/app/controllers/gaku/admin/base_controller.rb +0 -40
- data/app/controllers/gaku/admin/changes/student_address_changes_controller.rb +0 -14
- data/app/controllers/gaku/admin/changes/student_changes_controller.rb +0 -13
- data/app/controllers/gaku/admin/changes/student_contact_changes_controller.rb +0 -13
- data/app/controllers/gaku/admin/commute_method_types_controller.rb +0 -54
- data/app/controllers/gaku/admin/contact_types_controller.rb +0 -55
- data/app/controllers/gaku/admin/departments_controller.rb +0 -55
- data/app/controllers/gaku/admin/disposals_controller.rb +0 -55
- data/app/controllers/gaku/admin/enrollment_statuses_controller.rb +0 -58
- data/app/controllers/gaku/admin/grading_method_sets/grading_method_set_items_controller.rb +0 -70
- data/app/controllers/gaku/admin/grading_method_sets_controller.rb +0 -69
- data/app/controllers/gaku/admin/grading_methods_controller.rb +0 -58
- data/app/controllers/gaku/admin/presets_controller.rb +0 -40
- data/app/controllers/gaku/admin/roles_controller.rb +0 -54
- data/app/controllers/gaku/admin/school_years/semesters_controller.rb +0 -31
- data/app/controllers/gaku/admin/school_years_controller.rb +0 -30
- data/app/controllers/gaku/admin/schools/campuses/addresses_controller.rb +0 -53
- data/app/controllers/gaku/admin/schools/campuses_controller.rb +0 -46
- data/app/controllers/gaku/admin/schools/programs_controller.rb +0 -48
- data/app/controllers/gaku/admin/schools_controller.rb +0 -59
- data/app/controllers/gaku/admin/specialties_controller.rb +0 -58
- data/app/controllers/gaku/admin/states_controller.rb +0 -49
- data/app/controllers/gaku/admin/system_tools_controller.rb +0 -8
- data/app/controllers/gaku/admin/templates_controller.rb +0 -49
- data/app/controllers/gaku/admin/users_controller.rb +0 -82
- data/app/controllers/gaku/attachments_controller.rb +0 -88
- data/app/controllers/gaku/attendances_controller.rb +0 -29
- data/app/controllers/gaku/class_group_enrollments_controller.rb +0 -15
- data/app/controllers/gaku/class_groups/courses_controller.rb +0 -44
- data/app/controllers/gaku/class_groups/semester_class_groups_controller.rb +0 -38
- data/app/controllers/gaku/class_groups/students_controller.rb +0 -43
- data/app/controllers/gaku/class_groups_controller.rb +0 -59
- data/app/controllers/gaku/contacts_controller.rb +0 -103
- data/app/controllers/gaku/course_enrollments_controller.rb +0 -10
- data/app/controllers/gaku/course_groups/course_group_enrollments_controller.rb +0 -50
- data/app/controllers/gaku/course_groups_controller.rb +0 -81
- data/app/controllers/gaku/courses/enrollments_controller.rb +0 -55
- data/app/controllers/gaku/courses/semester_courses_controller.rb +0 -37
- data/app/controllers/gaku/courses_controller.rb +0 -73
- data/app/controllers/gaku/devise/passwords_controller.rb +0 -4
- data/app/controllers/gaku/devise/registrations_controller.rb +0 -60
- data/app/controllers/gaku/devise/sessions_controller.rb +0 -4
- data/app/controllers/gaku/exam_portion_scores_controller.rb +0 -18
- data/app/controllers/gaku/exams/exam_portions/attachments_controller.rb +0 -53
- data/app/controllers/gaku/exams/exam_portions_controller.rb +0 -55
- data/app/controllers/gaku/exams_controller.rb +0 -140
- data/app/controllers/gaku/extracurricular_activities/students_controller.rb +0 -55
- data/app/controllers/gaku/extracurricular_activities_controller.rb +0 -48
- data/app/controllers/gaku/extracurricular_activity_enrollments_controller.rb +0 -10
- data/app/controllers/gaku/home_controller.rb +0 -10
- data/app/controllers/gaku/notes_controller.rb +0 -81
- data/app/controllers/gaku/schedules_controller.rb +0 -11
- data/app/controllers/gaku/states_controller.rb +0 -17
- data/app/controllers/gaku/students/class_group_enrollments_controller.rb +0 -59
- data/app/controllers/gaku/students/course_enrollments_controller.rb +0 -43
- data/app/controllers/gaku/students/guardians_controller.rb +0 -85
- data/app/controllers/gaku/students/simple_grades_controller.rb +0 -59
- data/app/controllers/gaku/students/student_achievements_controller.rb +0 -49
- data/app/controllers/gaku/students/student_specialties_controller.rb +0 -60
- data/app/controllers/gaku/students_controller.rb +0 -189
- data/app/controllers/gaku/syllabuses/assignments_controller.rb +0 -20
- data/app/controllers/gaku/syllabuses/exam_syllabuses_controller.rb +0 -38
- data/app/controllers/gaku/syllabuses/exams_controller.rb +0 -53
- data/app/controllers/gaku/syllabuses_controller.rb +0 -73
- data/app/controllers/gaku/teachers_controller.rb +0 -113
- data/app/helpers/gaku/autocomplete_helper.rb +0 -31
- data/app/helpers/gaku/count_helper.rb +0 -13
- data/app/helpers/gaku/flash_helper.rb +0 -16
- data/app/helpers/gaku/gaku_helper.rb +0 -145
- data/app/helpers/gaku/icon_helper.rb +0 -26
- data/app/helpers/gaku/person_helper.rb +0 -55
- data/app/helpers/gaku/presets_helper.rb +0 -41
- data/app/helpers/gaku/sort_helper.rb +0 -17
- data/app/helpers/gaku/student_chooser_helper.rb +0 -12
- data/app/helpers/gaku/students_helper.rb +0 -42
- data/app/helpers/gaku/translations_helper.rb +0 -185
- data/app/models/concerns/trashable.rb +0 -17
- data/app/models/gaku/achievement.rb +0 -17
- data/app/models/gaku/student_achievement.rb +0 -10
- data/app/models/gaku/versioning/address_version.rb +0 -9
- data/app/models/gaku/versioning/contact_version.rb +0 -7
- data/app/models/gaku/versioning/student_version.rb +0 -49
- data/app/views/gaku/addresses/_address.html.slim +0 -5
- data/app/views/gaku/addresses/_addresses.html.slim +0 -27
- data/app/views/gaku/addresses/_fields.html.slim +0 -14
- data/app/views/gaku/addresses/_form.html.slim +0 -3
- data/app/views/gaku/addresses/_form_fields.html.slim +0 -26
- data/app/views/gaku/addresses/_modal.html.slim +0 -6
- data/app/views/gaku/addresses/_primary_field.html.slim +0 -13
- data/app/views/gaku/addresses/create.js.erb +0 -12
- data/app/views/gaku/addresses/destroy.js.erb +0 -8
- data/app/views/gaku/addresses/edit.js.erb +0 -4
- data/app/views/gaku/addresses/make_primary.js.erb +0 -7
- data/app/views/gaku/addresses/new.js.erb +0 -4
- data/app/views/gaku/addresses/recovery.js.erb +0 -1
- data/app/views/gaku/addresses/soft_delete.js.erb +0 -8
- data/app/views/gaku/addresses/update.js.erb +0 -5
- data/app/views/gaku/admin/achievements/_achievement.html.slim +0 -2
- data/app/views/gaku/admin/achievements/_fields.html.slim +0 -7
- data/app/views/gaku/admin/achievements/_form.html.slim +0 -3
- data/app/views/gaku/admin/achievements/_form_fields.html.slim +0 -4
- data/app/views/gaku/admin/achievements/_modal.html.slim +0 -6
- data/app/views/gaku/admin/achievements/destroy.js.erb +0 -2
- data/app/views/gaku/admin/achievements/edit.js.erb +0 -3
- data/app/views/gaku/admin/achievements/index.html.slim +0 -22
- data/app/views/gaku/admin/achievements/new.js.erb +0 -3
- data/app/views/gaku/admin/attendance_types/_attendance_type.html.slim +0 -2
- data/app/views/gaku/admin/attendance_types/_fields.html.slim +0 -9
- data/app/views/gaku/admin/attendance_types/_form.html.slim +0 -3
- data/app/views/gaku/admin/attendance_types/_form_fields.html.slim +0 -6
- data/app/views/gaku/admin/attendance_types/_modal.html.slim +0 -6
- data/app/views/gaku/admin/attendance_types/create.js.erb +0 -7
- data/app/views/gaku/admin/attendance_types/destroy.js.erb +0 -2
- data/app/views/gaku/admin/attendance_types/edit.js.erb +0 -4
- data/app/views/gaku/admin/attendance_types/index.html.slim +0 -24
- data/app/views/gaku/admin/attendance_types/index.json.rb +0 -1
- data/app/views/gaku/admin/attendance_types/new.js.erb +0 -4
- data/app/views/gaku/admin/attendance_types/update.js.erb +0 -4
- data/app/views/gaku/admin/changes/student_address_changes/_change.html.slim +0 -10
- data/app/views/gaku/admin/changes/student_address_changes/_changes.html.slim +0 -19
- data/app/views/gaku/admin/changes/student_address_changes/_deletion.html.slim +0 -9
- data/app/views/gaku/admin/changes/student_address_changes/index.html.slim +0 -11
- data/app/views/gaku/admin/changes/student_changes/_change.html.slim +0 -10
- data/app/views/gaku/admin/changes/student_changes/_changes.html.slim +0 -18
- data/app/views/gaku/admin/changes/student_changes/_deletion.html.slim +0 -9
- data/app/views/gaku/admin/changes/student_changes/index.html.slim +0 -13
- data/app/views/gaku/admin/changes/student_contact_changes/_change.html.slim +0 -10
- data/app/views/gaku/admin/changes/student_contact_changes/_changes.html.slim +0 -19
- data/app/views/gaku/admin/changes/student_contact_changes/_deletion.html.slim +0 -9
- data/app/views/gaku/admin/changes/student_contact_changes/index.html.slim +0 -11
- data/app/views/gaku/admin/commute_method_types/_commute_method_type.html.slim +0 -2
- data/app/views/gaku/admin/commute_method_types/_fields.html.slim +0 -4
- data/app/views/gaku/admin/commute_method_types/_form.html.slim +0 -3
- data/app/views/gaku/admin/commute_method_types/_modal.html.slim +0 -6
- data/app/views/gaku/admin/commute_method_types/create.js.erb +0 -7
- data/app/views/gaku/admin/commute_method_types/destroy.js.erb +0 -2
- data/app/views/gaku/admin/commute_method_types/edit.js.erb +0 -3
- data/app/views/gaku/admin/commute_method_types/index.html.slim +0 -18
- data/app/views/gaku/admin/commute_method_types/new.js.erb +0 -3
- data/app/views/gaku/admin/commute_method_types/update.js.erb +0 -3
- data/app/views/gaku/admin/contact_types/_contact_type.html.slim +0 -2
- data/app/views/gaku/admin/contact_types/_fields.html.slim +0 -4
- data/app/views/gaku/admin/contact_types/_form.html.slim +0 -3
- data/app/views/gaku/admin/contact_types/_modal.html.slim +0 -6
- data/app/views/gaku/admin/contact_types/create.js.erb +0 -7
- data/app/views/gaku/admin/contact_types/destroy.js.erb +0 -2
- data/app/views/gaku/admin/contact_types/edit.js.erb +0 -3
- data/app/views/gaku/admin/contact_types/index.html.slim +0 -18
- data/app/views/gaku/admin/contact_types/new.js.erb +0 -3
- data/app/views/gaku/admin/contact_types/update.js.erb +0 -3
- data/app/views/gaku/admin/departments/_department.html.slim +0 -2
- data/app/views/gaku/admin/departments/_form.html.slim +0 -3
- data/app/views/gaku/admin/departments/_form_fields.html.slim +0 -1
- data/app/views/gaku/admin/departments/_modal.html.slim +0 -6
- data/app/views/gaku/admin/departments/_table_fields.html.slim +0 -5
- data/app/views/gaku/admin/departments/create.js.erb +0 -7
- data/app/views/gaku/admin/departments/destroy.js.erb +0 -2
- data/app/views/gaku/admin/departments/edit.js.erb +0 -3
- data/app/views/gaku/admin/departments/index.html.slim +0 -20
- data/app/views/gaku/admin/departments/new.js.erb +0 -3
- data/app/views/gaku/admin/departments/update.js.erb +0 -4
- data/app/views/gaku/admin/disposals/_address.html.slim +0 -12
- data/app/views/gaku/admin/disposals/_addresses.html.slim +0 -17
- data/app/views/gaku/admin/disposals/_contact.html.slim +0 -9
- data/app/views/gaku/admin/disposals/_contacts.html.slim +0 -14
- data/app/views/gaku/admin/disposals/_course_group.html.slim +0 -3
- data/app/views/gaku/admin/disposals/_course_groups.html.slim +0 -12
- data/app/views/gaku/admin/disposals/_exam.html.slim +0 -10
- data/app/views/gaku/admin/disposals/_guardian.html.slim +0 -10
- data/app/views/gaku/admin/disposals/_student.html.slim +0 -10
- data/app/views/gaku/admin/disposals/_tabs.html.slim +0 -17
- data/app/views/gaku/admin/disposals/_teacher.html.slim +0 -10
- data/app/views/gaku/admin/disposals/addresses.html.slim +0 -2
- data/app/views/gaku/admin/disposals/attachments.html.slim +0 -30
- data/app/views/gaku/admin/disposals/contacts.html.slim +0 -2
- data/app/views/gaku/admin/disposals/course_groups.html.slim +0 -12
- data/app/views/gaku/admin/disposals/exams.html.slim +0 -16
- data/app/views/gaku/admin/disposals/guardians.html.slim +0 -16
- data/app/views/gaku/admin/disposals/index.html.slim +0 -1
- data/app/views/gaku/admin/disposals/students.html.slim +0 -16
- data/app/views/gaku/admin/disposals/tabs/_addresses_tabs.html.slim +0 -19
- data/app/views/gaku/admin/disposals/tabs/_contacts_tabs.html.slim +0 -19
- data/app/views/gaku/admin/disposals/teachers.html.slim +0 -16
- data/app/views/gaku/admin/enrollment_statuses/_enrollment_status.html.slim +0 -2
- data/app/views/gaku/admin/enrollment_statuses/_fields.html.slim +0 -6
- data/app/views/gaku/admin/enrollment_statuses/_form.html.slim +0 -3
- data/app/views/gaku/admin/enrollment_statuses/_form_fields.html.slim +0 -3
- data/app/views/gaku/admin/enrollment_statuses/_modal.html.slim +0 -6
- data/app/views/gaku/admin/enrollment_statuses/create.js.erb +0 -7
- data/app/views/gaku/admin/enrollment_statuses/destroy.js.erb +0 -2
- data/app/views/gaku/admin/enrollment_statuses/edit.js.erb +0 -3
- data/app/views/gaku/admin/enrollment_statuses/index.html.slim +0 -21
- data/app/views/gaku/admin/enrollment_statuses/new.js.erb +0 -3
- data/app/views/gaku/admin/enrollment_statuses/update.js.erb +0 -4
- data/app/views/gaku/admin/grading_method_sets/_fields.html.slim +0 -9
- data/app/views/gaku/admin/grading_method_sets/_form.html.slim +0 -3
- data/app/views/gaku/admin/grading_method_sets/_form_fields.html.slim +0 -4
- data/app/views/gaku/admin/grading_method_sets/_grading_method_set.html.slim +0 -4
- data/app/views/gaku/admin/grading_method_sets/_make_primary_field.html.slim +0 -4
- data/app/views/gaku/admin/grading_method_sets/_modal.html.slim +0 -6
- data/app/views/gaku/admin/grading_method_sets/create.js.erb +0 -7
- data/app/views/gaku/admin/grading_method_sets/destroy.js.erb +0 -7
- data/app/views/gaku/admin/grading_method_sets/edit.js.erb +0 -3
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_fields.html.slim +0 -9
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form.html.slim +0 -3
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_form_fields.html.slim +0 -1
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_item.html.slim +0 -4
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_items.html.slim +0 -23
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/_modal.html.slim +0 -6
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/create.js.erb +0 -7
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/destroy.js.erb +0 -2
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/edit.js.erb +0 -3
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/new.js.erb +0 -3
- data/app/views/gaku/admin/grading_method_sets/grading_method_set_items/update.js.erb +0 -3
- data/app/views/gaku/admin/grading_method_sets/index.html.slim +0 -23
- data/app/views/gaku/admin/grading_method_sets/make_primary.js.erb +0 -6
- data/app/views/gaku/admin/grading_method_sets/new.js.erb +0 -3
- data/app/views/gaku/admin/grading_method_sets/show.html.slim +0 -13
- data/app/views/gaku/admin/grading_method_sets/update.js.erb +0 -3
- data/app/views/gaku/admin/grading_methods/_fields.html.slim +0 -6
- data/app/views/gaku/admin/grading_methods/_form.html.slim +0 -3
- data/app/views/gaku/admin/grading_methods/_form_fields.html.slim +0 -3
- data/app/views/gaku/admin/grading_methods/_grading_method.html.slim +0 -2
- data/app/views/gaku/admin/grading_methods/_modal.html.slim +0 -6
- data/app/views/gaku/admin/grading_methods/create.js.erb +0 -7
- data/app/views/gaku/admin/grading_methods/destroy.js.erb +0 -2
- data/app/views/gaku/admin/grading_methods/edit.js.erb +0 -3
- data/app/views/gaku/admin/grading_methods/index.html.slim +0 -20
- data/app/views/gaku/admin/grading_methods/new.js.erb +0 -3
- data/app/views/gaku/admin/grading_methods/update.js.erb +0 -3
- data/app/views/gaku/admin/presets/defaults.html.slim +0 -50
- data/app/views/gaku/admin/presets/grading.html.slim +0 -12
- data/app/views/gaku/admin/presets/locale.html.slim +0 -10
- data/app/views/gaku/admin/presets/names.html.slim +0 -20
- data/app/views/gaku/admin/presets/output_formats.html.slim +0 -19
- data/app/views/gaku/admin/presets/pagination.html.slim +0 -19
- data/app/views/gaku/admin/presets/students.html.slim +0 -21
- data/app/views/gaku/admin/roles/_fields.html.slim +0 -5
- data/app/views/gaku/admin/roles/_form.html.slim +0 -3
- data/app/views/gaku/admin/roles/_form_fields.html.slim +0 -1
- data/app/views/gaku/admin/roles/_modal.html.slim +0 -6
- data/app/views/gaku/admin/roles/_role.html.slim +0 -2
- data/app/views/gaku/admin/roles/create.js.erb +0 -7
- data/app/views/gaku/admin/roles/destroy.js.erb +0 -2
- data/app/views/gaku/admin/roles/edit.js.erb +0 -3
- data/app/views/gaku/admin/roles/index.html.slim +0 -20
- data/app/views/gaku/admin/roles/new.js.erb +0 -3
- data/app/views/gaku/admin/roles/update.js.erb +0 -3
- data/app/views/gaku/admin/school_years/_fields.html.slim +0 -7
- data/app/views/gaku/admin/school_years/_form.html.slim +0 -3
- data/app/views/gaku/admin/school_years/_form_fields.html.slim +0 -5
- data/app/views/gaku/admin/school_years/_modal.html.slim +0 -7
- data/app/views/gaku/admin/school_years/_school_year.html.slim +0 -3
- data/app/views/gaku/admin/school_years/_show_table.html.slim +0 -10
- data/app/views/gaku/admin/school_years/create.js.erb +0 -10
- data/app/views/gaku/admin/school_years/destroy.js.erb +0 -2
- data/app/views/gaku/admin/school_years/edit.js.erb +0 -5
- data/app/views/gaku/admin/school_years/index.html.slim +0 -21
- data/app/views/gaku/admin/school_years/new.js.erb +0 -5
- data/app/views/gaku/admin/school_years/semesters/_fields.html.slim +0 -7
- data/app/views/gaku/admin/school_years/semesters/_form.html.slim +0 -3
- data/app/views/gaku/admin/school_years/semesters/_form_fields.html.slim +0 -5
- data/app/views/gaku/admin/school_years/semesters/_modal.html.slim +0 -7
- data/app/views/gaku/admin/school_years/semesters/_semester.html.slim +0 -3
- data/app/views/gaku/admin/school_years/semesters/_semesters.html.slim +0 -22
- data/app/views/gaku/admin/school_years/semesters/create.js.erb +0 -10
- data/app/views/gaku/admin/school_years/semesters/destroy.js.erb +0 -2
- data/app/views/gaku/admin/school_years/semesters/edit.js.erb +0 -6
- data/app/views/gaku/admin/school_years/semesters/new.js.erb +0 -5
- data/app/views/gaku/admin/school_years/semesters/update.js.erb +0 -8
- data/app/views/gaku/admin/school_years/show.html.slim +0 -15
- data/app/views/gaku/admin/school_years/update.js.erb +0 -8
- data/app/views/gaku/admin/schools/_fields.html.slim +0 -9
- data/app/views/gaku/admin/schools/_form.html.slim +0 -3
- data/app/views/gaku/admin/schools/_form_fields.html.slim +0 -25
- data/app/views/gaku/admin/schools/_modal.html.slim +0 -6
- data/app/views/gaku/admin/schools/_school.html.slim +0 -2
- data/app/views/gaku/admin/schools/_school_unit.html.slim +0 -6
- data/app/views/gaku/admin/schools/_show_table.html.slim +0 -35
- data/app/views/gaku/admin/schools/campuses/_campus.html.slim +0 -7
- data/app/views/gaku/admin/schools/campuses/_campus_unit.html.slim +0 -6
- data/app/views/gaku/admin/schools/campuses/_campuses.html.slim +0 -20
- data/app/views/gaku/admin/schools/campuses/_form.html.slim +0 -3
- data/app/views/gaku/admin/schools/campuses/_modal.html.slim +0 -6
- data/app/views/gaku/admin/schools/campuses/_picture.html.slim +0 -10
- data/app/views/gaku/admin/schools/campuses/_show_table.html.slim +0 -10
- data/app/views/gaku/admin/schools/campuses/_upload_picture.html.slim +0 -7
- data/app/views/gaku/admin/schools/campuses/addresses/_address.html.slim +0 -6
- data/app/views/gaku/admin/schools/campuses/addresses/_address_row_fields.html.slim +0 -4
- data/app/views/gaku/admin/schools/campuses/addresses/_addresses.html.slim +0 -24
- data/app/views/gaku/admin/schools/campuses/addresses/_form.html.slim +0 -3
- data/app/views/gaku/admin/schools/campuses/addresses/_modal.html.slim +0 -7
- data/app/views/gaku/admin/schools/campuses/addresses/create.js.erb +0 -6
- data/app/views/gaku/admin/schools/campuses/addresses/destroy.js.erb +0 -2
- data/app/views/gaku/admin/schools/campuses/addresses/edit.js.erb +0 -4
- data/app/views/gaku/admin/schools/campuses/addresses/new.js.erb +0 -4
- data/app/views/gaku/admin/schools/campuses/addresses/update.js.erb +0 -4
- data/app/views/gaku/admin/schools/campuses/create.js.erb +0 -7
- data/app/views/gaku/admin/schools/campuses/destroy.js.erb +0 -2
- data/app/views/gaku/admin/schools/campuses/edit.js.erb +0 -3
- data/app/views/gaku/admin/schools/campuses/new.js.erb +0 -3
- data/app/views/gaku/admin/schools/campuses/show.html.slim +0 -21
- data/app/views/gaku/admin/schools/campuses/update.js.erb +0 -3
- data/app/views/gaku/admin/schools/create.js.erb +0 -7
- data/app/views/gaku/admin/schools/destroy.js.erb +0 -2
- data/app/views/gaku/admin/schools/edit.js.erb +0 -3
- data/app/views/gaku/admin/schools/edit_master.html.slim +0 -17
- data/app/views/gaku/admin/schools/index.html.slim +0 -29
- data/app/views/gaku/admin/schools/new.js.erb +0 -3
- data/app/views/gaku/admin/schools/programs/_fields.html.slim +0 -9
- data/app/views/gaku/admin/schools/programs/_form.html.slim +0 -20
- data/app/views/gaku/admin/schools/programs/_form_fields.html.slim +0 -6
- data/app/views/gaku/admin/schools/programs/_modal.html.slim +0 -5
- data/app/views/gaku/admin/schools/programs/_program.html.slim +0 -2
- data/app/views/gaku/admin/schools/programs/_programs.html.slim +0 -25
- data/app/views/gaku/admin/schools/programs/create.js.erb +0 -7
- data/app/views/gaku/admin/schools/programs/destroy.js.erb +0 -2
- data/app/views/gaku/admin/schools/programs/edit.js.erb +0 -3
- data/app/views/gaku/admin/schools/programs/new.js.erb +0 -3
- data/app/views/gaku/admin/schools/programs/program_levels/_form_fields.html.slim +0 -8
- data/app/views/gaku/admin/schools/programs/program_levels/_modal.html.slim +0 -10
- data/app/views/gaku/admin/schools/programs/program_specialties/_form_fields.html.slim +0 -7
- data/app/views/gaku/admin/schools/programs/program_specialties/_modal.html.slim +0 -10
- data/app/views/gaku/admin/schools/programs/program_syllabuses/_form_fields.html.slim +0 -6
- data/app/views/gaku/admin/schools/programs/program_syllabuses/_modal.html.slim +0 -10
- data/app/views/gaku/admin/schools/programs/show_program_levels.js.erb +0 -3
- data/app/views/gaku/admin/schools/programs/show_program_specialties.js.erb +0 -3
- data/app/views/gaku/admin/schools/programs/show_program_syllabuses.js.erb +0 -3
- data/app/views/gaku/admin/schools/programs/update.js.erb +0 -3
- data/app/views/gaku/admin/schools/show.html.slim +0 -26
- data/app/views/gaku/admin/schools/update.js.erb +0 -7
- data/app/views/gaku/admin/shared/_picture.html.slim +0 -10
- data/app/views/gaku/admin/shared/_upload_picture.html.slim +0 -7
- data/app/views/gaku/admin/specialties/_fields.html.slim +0 -6
- data/app/views/gaku/admin/specialties/_form.html.slim +0 -3
- data/app/views/gaku/admin/specialties/_form_fields.html.slim +0 -3
- data/app/views/gaku/admin/specialties/_modal.html.slim +0 -6
- data/app/views/gaku/admin/specialties/_specialty.html.slim +0 -2
- data/app/views/gaku/admin/specialties/create.js.erb +0 -7
- data/app/views/gaku/admin/specialties/destroy.js.erb +0 -2
- data/app/views/gaku/admin/specialties/edit.js.erb +0 -3
- data/app/views/gaku/admin/specialties/index.html.slim +0 -20
- data/app/views/gaku/admin/specialties/new.js.erb +0 -3
- data/app/views/gaku/admin/specialties/update.js.erb +0 -3
- data/app/views/gaku/admin/states/_country_select_form.html.slim +0 -4
- data/app/views/gaku/admin/states/_country_table.html.slim +0 -11
- data/app/views/gaku/admin/states/_fields.html.slim +0 -8
- data/app/views/gaku/admin/states/_form.html.slim +0 -4
- data/app/views/gaku/admin/states/_form_fields.html.slim +0 -14
- data/app/views/gaku/admin/states/_modal.html.slim +0 -6
- data/app/views/gaku/admin/states/_state.html.slim +0 -2
- data/app/views/gaku/admin/states/country_states.js.erb +0 -1
- data/app/views/gaku/admin/states/create.js.erb +0 -7
- data/app/views/gaku/admin/states/destroy.js.erb +0 -2
- data/app/views/gaku/admin/states/edit.js.erb +0 -3
- data/app/views/gaku/admin/states/index.html.slim +0 -15
- data/app/views/gaku/admin/states/new.js.erb +0 -3
- data/app/views/gaku/admin/states/update.js.erb +0 -3
- data/app/views/gaku/admin/system_tools/index.html.slim +0 -1
- data/app/views/gaku/admin/templates/_fields.html.slim +0 -8
- data/app/views/gaku/admin/templates/_form.html.slim +0 -3
- data/app/views/gaku/admin/templates/_form_fields.html.slim +0 -4
- data/app/views/gaku/admin/templates/_modal.html.slim +0 -6
- data/app/views/gaku/admin/templates/_template.html.slim +0 -2
- data/app/views/gaku/admin/templates/destroy.js.erb +0 -2
- data/app/views/gaku/admin/templates/edit.js.erb +0 -4
- data/app/views/gaku/admin/templates/index.html.slim +0 -20
- data/app/views/gaku/admin/templates/new.js.erb +0 -3
- data/app/views/gaku/admin/users/_fields.html.slim +0 -5
- data/app/views/gaku/admin/users/_form.html.slim +0 -3
- data/app/views/gaku/admin/users/_form_fields.html.slim +0 -14
- data/app/views/gaku/admin/users/_modal.html.slim +0 -6
- data/app/views/gaku/admin/users/_user.html.slim +0 -2
- data/app/views/gaku/admin/users/create.js.erb +0 -7
- data/app/views/gaku/admin/users/destroy.js.erb +0 -2
- data/app/views/gaku/admin/users/edit.js.erb +0 -3
- data/app/views/gaku/admin/users/index.html.slim +0 -21
- data/app/views/gaku/admin/users/new.js.erb +0 -3
- data/app/views/gaku/admin/users/update.js.erb +0 -4
- data/app/views/gaku/attachments/destroy.js.erb +0 -1
- data/app/views/gaku/attachments/edit.js.erb +0 -3
- data/app/views/gaku/attachments/new.js.erb +0 -1
- data/app/views/gaku/attachments/recover_attachment.js.erb +0 -1
- data/app/views/gaku/attachments/soft_delete.js.erb +0 -3
- data/app/views/gaku/class_groups/_class_group.html.slim +0 -7
- data/app/views/gaku/class_groups/_class_group_modal.html.slim +0 -7
- data/app/views/gaku/class_groups/_class_group_unit.html.slim +0 -5
- data/app/views/gaku/class_groups/_class_groups.html.slim +0 -25
- data/app/views/gaku/class_groups/_form.html.slim +0 -8
- data/app/views/gaku/class_groups/_form_fields.html.slim +0 -6
- data/app/views/gaku/class_groups/_tabs.html.slim +0 -32
- data/app/views/gaku/class_groups/courses/_course.html.slim +0 -4
- data/app/views/gaku/class_groups/courses/_courses.html.slim +0 -19
- data/app/views/gaku/class_groups/courses/_form.html.slim +0 -5
- data/app/views/gaku/class_groups/courses/create.js.erb +0 -8
- data/app/views/gaku/class_groups/courses/destroy.js.erb +0 -3
- data/app/views/gaku/class_groups/courses/new.js.erb +0 -3
- data/app/views/gaku/class_groups/create.js.erb +0 -6
- data/app/views/gaku/class_groups/destroy.js.erb +0 -6
- data/app/views/gaku/class_groups/edit.js.erb +0 -3
- data/app/views/gaku/class_groups/index.html.slim +0 -14
- data/app/views/gaku/class_groups/new.js.erb +0 -3
- data/app/views/gaku/class_groups/semester_class_groups/_fields.html.slim +0 -4
- data/app/views/gaku/class_groups/semester_class_groups/_form.html.slim +0 -4
- data/app/views/gaku/class_groups/semester_class_groups/_form_fields.html.slim +0 -3
- data/app/views/gaku/class_groups/semester_class_groups/_modal.html.slim +0 -5
- data/app/views/gaku/class_groups/semester_class_groups/_semester.html.slim +0 -3
- data/app/views/gaku/class_groups/semester_class_groups/_semester_modal.html.slim +0 -6
- data/app/views/gaku/class_groups/semester_class_groups/_semesters.html.slim +0 -19
- data/app/views/gaku/class_groups/semester_class_groups/create.js.erb +0 -6
- data/app/views/gaku/class_groups/semester_class_groups/destroy.js.erb +0 -3
- data/app/views/gaku/class_groups/semester_class_groups/edit.js.erb +0 -3
- data/app/views/gaku/class_groups/semester_class_groups/new.js.erb +0 -3
- data/app/views/gaku/class_groups/semester_class_groups/update.js.erb +0 -3
- data/app/views/gaku/class_groups/show.html.slim +0 -25
- data/app/views/gaku/class_groups/student_chooser.js.erb +0 -2
- data/app/views/gaku/class_groups/students/_student.html.slim +0 -5
- data/app/views/gaku/class_groups/students/_students.html.slim +0 -19
- data/app/views/gaku/class_groups/students/destroy.js.erb +0 -3
- data/app/views/gaku/class_groups/students/enroll_students.js.erb +0 -17
- data/app/views/gaku/class_groups/students/new.js.erb +0 -3
- data/app/views/gaku/class_groups/update.js.erb +0 -8
- data/app/views/gaku/contacts/_contact.html.slim +0 -5
- data/app/views/gaku/contacts/_contacts.html.slim +0 -24
- data/app/views/gaku/contacts/_fields.html.slim +0 -13
- data/app/views/gaku/contacts/_form.html.slim +0 -4
- data/app/views/gaku/contacts/_form_fields.html.slim +0 -14
- data/app/views/gaku/contacts/_modal.html.slim +0 -6
- data/app/views/gaku/contacts/_primary_field.html.slim +0 -13
- data/app/views/gaku/contacts/create.js.erb +0 -21
- data/app/views/gaku/contacts/destroy.js.erb +0 -9
- data/app/views/gaku/contacts/edit.js.erb +0 -4
- data/app/views/gaku/contacts/make_primary.js.erb +0 -6
- data/app/views/gaku/contacts/new.js.erb +0 -3
- data/app/views/gaku/contacts/recovery.js.erb +0 -1
- data/app/views/gaku/contacts/soft_delete.js.erb +0 -8
- data/app/views/gaku/contacts/update.js.erb +0 -14
- data/app/views/gaku/course_groups/_course_group.html.slim +0 -3
- data/app/views/gaku/course_groups/_course_group_unit.html.slim +0 -4
- data/app/views/gaku/course_groups/_course_groups.html.slim +0 -7
- data/app/views/gaku/course_groups/_delete_confirm.html.slim +0 -11
- data/app/views/gaku/course_groups/_fields.html.slim +0 -1
- data/app/views/gaku/course_groups/_form.html.slim +0 -3
- data/app/views/gaku/course_groups/_form_fields.html.slim +0 -1
- data/app/views/gaku/course_groups/_modal.html.slim +0 -6
- data/app/views/gaku/course_groups/course_group_enrollments/_course.html.slim +0 -4
- data/app/views/gaku/course_groups/course_group_enrollments/_courses.html.slim +0 -23
- data/app/views/gaku/course_groups/course_group_enrollments/_form.html.slim +0 -4
- data/app/views/gaku/course_groups/course_group_enrollments/create.js.erb +0 -7
- data/app/views/gaku/course_groups/course_group_enrollments/destroy.js.erb +0 -2
- data/app/views/gaku/course_groups/course_group_enrollments/new.js.erb +0 -3
- data/app/views/gaku/course_groups/create.js.erb +0 -10
- data/app/views/gaku/course_groups/destroy.js.erb +0 -2
- data/app/views/gaku/course_groups/edit.js.erb +0 -3
- data/app/views/gaku/course_groups/index.html.slim +0 -15
- data/app/views/gaku/course_groups/index.js.erb +0 -1
- data/app/views/gaku/course_groups/new.js.erb +0 -3
- data/app/views/gaku/course_groups/recovery.js.erb +0 -2
- data/app/views/gaku/course_groups/show.html.slim +0 -30
- data/app/views/gaku/course_groups/update.js.erb +0 -7
- data/app/views/gaku/courses/_course.html.slim +0 -2
- data/app/views/gaku/courses/_course_unit.html.slim +0 -5
- data/app/views/gaku/courses/_courses.html.slim +0 -27
- data/app/views/gaku/courses/_form.html.slim +0 -7
- data/app/views/gaku/courses/_form_fields.html.slim +0 -4
- data/app/views/gaku/courses/_modal.html.slim +0 -6
- data/app/views/gaku/courses/_tabs.html.slim +0 -25
- data/app/views/gaku/courses/assignments/_assignments.html.slim +0 -2
- data/app/views/gaku/courses/create.js.erb +0 -7
- data/app/views/gaku/courses/destroy.js.erb +0 -7
- data/app/views/gaku/courses/edit.js.erb +0 -4
- data/app/views/gaku/courses/enrollments/_enrolled.html.slim +0 -7
- data/app/views/gaku/courses/enrollments/_enrollments.html.slim +0 -29
- data/app/views/gaku/courses/enrollments/_errors_modal.html.slim +0 -11
- data/app/views/gaku/courses/enrollments/class_groups/_form.html.slim +0 -3
- data/app/views/gaku/courses/enrollments/class_groups/enroll.js.erb +0 -16
- data/app/views/gaku/courses/enrollments/class_groups/new.js.erb +0 -4
- data/app/views/gaku/courses/enrollments/error.js.erb +0 -2
- data/app/views/gaku/courses/enrollments/students/enroll_students.js.erb +0 -11
- data/app/views/gaku/courses/exams/_exam.html.slim +0 -5
- data/app/views/gaku/courses/exams/_exams.html.slim +0 -14
- data/app/views/gaku/courses/index.html.slim +0 -14
- data/app/views/gaku/courses/new.js.erb +0 -3
- data/app/views/gaku/courses/semester_courses/_fields.html.slim +0 -4
- data/app/views/gaku/courses/semester_courses/_form.html.slim +0 -4
- data/app/views/gaku/courses/semester_courses/_form_fields.html.slim +0 -3
- data/app/views/gaku/courses/semester_courses/_modal.html.slim +0 -6
- data/app/views/gaku/courses/semester_courses/_semester_course.html.slim +0 -3
- data/app/views/gaku/courses/semester_courses/_semester_courses.html.slim +0 -18
- data/app/views/gaku/courses/semester_courses/create.js.erb +0 -6
- data/app/views/gaku/courses/semester_courses/destroy.js.erb +0 -3
- data/app/views/gaku/courses/semester_courses/edit.js.erb +0 -3
- data/app/views/gaku/courses/semester_courses/new.js.erb +0 -3
- data/app/views/gaku/courses/semester_courses/update.js.erb +0 -3
- data/app/views/gaku/courses/show.html.slim +0 -32
- data/app/views/gaku/courses/student_chooser.js.erb +0 -2
- data/app/views/gaku/courses/update.js.erb +0 -16
- data/app/views/gaku/devise/confirmations/new.html.slim +0 -9
- data/app/views/gaku/devise/mailer/confirmation_instructions.html.slim +0 -4
- data/app/views/gaku/devise/mailer/reset_password_instructions.html.slim +0 -6
- data/app/views/gaku/devise/mailer/unlock_instructions.html.slim +0 -5
- data/app/views/gaku/devise/passwords/edit.html.slim +0 -14
- data/app/views/gaku/devise/passwords/new.html.slim +0 -8
- data/app/views/gaku/devise/registrations/edit.html.slim +0 -31
- data/app/views/gaku/devise/registrations/new.html.slim +0 -29
- data/app/views/gaku/devise/registrations/set_up_admin_account.html.slim +0 -27
- data/app/views/gaku/devise/sessions/new.html.slim +0 -27
- data/app/views/gaku/devise/shared/_links.html.erb +0 -25
- data/app/views/gaku/devise/unlocks/new.html.slim +0 -9
- data/app/views/gaku/exam_divisions/_form.html.erb +0 -29
- data/app/views/gaku/exam_divisions/edit.html.erb +0 -6
- data/app/views/gaku/exam_divisions/index.html.erb +0 -27
- data/app/views/gaku/exam_divisions/new.html.erb +0 -5
- data/app/views/gaku/exam_divisions/show.html.erb +0 -20
- data/app/views/gaku/exams/_exam.html.slim +0 -2
- data/app/views/gaku/exams/_fields.html.slim +0 -8
- data/app/views/gaku/exams/_form.html.slim +0 -19
- data/app/views/gaku/exams/_form_fields.html.slim +0 -13
- data/app/views/gaku/exams/_modal.html.slim +0 -6
- data/app/views/gaku/exams/_show_table.html.slim +0 -15
- data/app/views/gaku/exams/_weight_check_widget.html.slim +0 -20
- data/app/views/gaku/exams/create.js.erb +0 -6
- data/app/views/gaku/exams/destroy.js.erb +0 -2
- data/app/views/gaku/exams/edit.js +0 -3
- data/app/views/gaku/exams/exam_portions/_custom_exam_portion_error.html.slim +0 -4
- data/app/views/gaku/exams/exam_portions/_exam_portion.html.slim +0 -3
- data/app/views/gaku/exams/exam_portions/_exam_portion_unit.html.slim +0 -3
- data/app/views/gaku/exams/exam_portions/_exam_portion_weight_td.html.slim +0 -3
- data/app/views/gaku/exams/exam_portions/_exam_portions.html.slim +0 -14
- data/app/views/gaku/exams/exam_portions/_form.html.slim +0 -3
- data/app/views/gaku/exams/exam_portions/_modal.html.slim +0 -8
- data/app/views/gaku/exams/exam_portions/_show_table.html.slim +0 -12
- data/app/views/gaku/exams/exam_portions/attachments/_attachment.html.slim +0 -2
- data/app/views/gaku/exams/exam_portions/attachments/_attachments.html.slim +0 -23
- data/app/views/gaku/exams/exam_portions/attachments/_form.html.slim +0 -6
- data/app/views/gaku/exams/exam_portions/attachments/_form_fields.html.slim +0 -3
- data/app/views/gaku/exams/exam_portions/attachments/_modal.html.slim +0 -6
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~HEAD +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~HEAD_0 +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~kagetsuki_master +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/create.js.erb~kagetsuki_master_0 +0 -0
- data/app/views/gaku/exams/exam_portions/attachments/new.js.erb +0 -3
- data/app/views/gaku/exams/exam_portions/create.js.erb +0 -48
- data/app/views/gaku/exams/exam_portions/destroy.js.erb +0 -8
- data/app/views/gaku/exams/exam_portions/edit.js.erb +0 -3
- data/app/views/gaku/exams/exam_portions/new.js.erb +0 -3
- data/app/views/gaku/exams/exam_portions/show.html.slim +0 -8
- data/app/views/gaku/exams/exam_portions/update.js.erb +0 -27
- data/app/views/gaku/exams/export.xls.rb +0 -67
- data/app/views/gaku/exams/grading.html.slim +0 -34
- data/app/views/gaku/exams/index.html.slim +0 -21
- data/app/views/gaku/exams/new.js.erb +0 -3
- data/app/views/gaku/exams/recovery.js.erb +0 -1
- data/app/views/gaku/exams/show.html.slim +0 -33
- data/app/views/gaku/exams/update.js.erb +0 -5
- data/app/views/gaku/extracurricular_activities/_extracurricular_activities.html.slim +0 -9
- data/app/views/gaku/extracurricular_activities/_extracurricular_activity.html.slim +0 -6
- data/app/views/gaku/extracurricular_activities/_fields.html.slim +0 -1
- data/app/views/gaku/extracurricular_activities/_form.html.slim +0 -3
- data/app/views/gaku/extracurricular_activities/_form_fields.html.slim +0 -3
- data/app/views/gaku/extracurricular_activities/_modal.html.slim +0 -7
- data/app/views/gaku/extracurricular_activities/_tabs.html.slim +0 -14
- data/app/views/gaku/extracurricular_activities/create.js.erb +0 -6
- data/app/views/gaku/extracurricular_activities/destroy.js.erb +0 -2
- data/app/views/gaku/extracurricular_activities/edit.js.erb +0 -3
- data/app/views/gaku/extracurricular_activities/index.html.slim +0 -14
- data/app/views/gaku/extracurricular_activities/index.js.erb +0 -2
- data/app/views/gaku/extracurricular_activities/new.js.erb +0 -3
- data/app/views/gaku/extracurricular_activities/show.html.slim +0 -20
- data/app/views/gaku/extracurricular_activities/student_chooser.js.erb +0 -2
- data/app/views/gaku/extracurricular_activities/students/_student.html.slim +0 -5
- data/app/views/gaku/extracurricular_activities/students/_students.html.slim +0 -19
- data/app/views/gaku/extracurricular_activities/students/destroy.js.erb +0 -3
- data/app/views/gaku/extracurricular_activities/students/enroll_students.js.erb +0 -11
- data/app/views/gaku/extracurricular_activities/update.js.erb +0 -6
- data/app/views/gaku/home/_user_info.html.slim +0 -7
- data/app/views/gaku/home/_user_menu.html.slim +0 -2
- data/app/views/gaku/home/index.html.slim +0 -13
- data/app/views/gaku/layouts/admin/index.html.slim +0 -15
- data/app/views/gaku/layouts/edit.html.slim +0 -9
- data/app/views/gaku/layouts/gaku.html.slim +0 -23
- data/app/views/gaku/layouts/index.html.slim +0 -14
- data/app/views/gaku/layouts/show.html.slim +0 -10
- data/app/views/gaku/notes/_buttons.html.slim +0 -5
- data/app/views/gaku/notes/_fields.html.slim +0 -2
- data/app/views/gaku/notes/_form.html.slim +0 -6
- data/app/views/gaku/notes/_form_fields.html.slim +0 -6
- data/app/views/gaku/notes/_modal.html.slim +0 -6
- data/app/views/gaku/notes/_note.html.slim +0 -4
- data/app/views/gaku/notes/_notes.html.slim +0 -19
- data/app/views/gaku/notes/_show_modal.html.slim +0 -4
- data/app/views/gaku/notes/create.js.erb +0 -11
- data/app/views/gaku/notes/destroy.js.erb +0 -4
- data/app/views/gaku/notes/edit.js.erb +0 -3
- data/app/views/gaku/notes/new.js.erb +0 -3
- data/app/views/gaku/notes/show.js.erb +0 -3
- data/app/views/gaku/notes/update.js.erb +0 -4
- data/app/views/gaku/shared/_delete_modal.html.slim +0 -7
- data/app/views/gaku/shared/_delete_modal_remote.html.slim +0 -7
- data/app/views/gaku/shared/_errors.html.slim +0 -6
- data/app/views/gaku/shared/_external_school_record.html.slim +0 -36
- data/app/views/gaku/shared/_flash.html.slim +0 -4
- data/app/views/gaku/shared/_language_bar.html.slim +0 -8
- data/app/views/gaku/shared/_login_widget.html.slim +0 -27
- data/app/views/gaku/shared/_manage_buttons.html.slim +0 -4
- data/app/views/gaku/shared/_menubar.html.slim +0 -8
- data/app/views/gaku/shared/_modal_config.html.slim +0 -37
- data/app/views/gaku/shared/_multi_errors.html.slim +0 -6
- data/app/views/gaku/shared/_picture.html.slim +0 -12
- data/app/views/gaku/shared/_upload_picture.html.slim +0 -7
- data/app/views/gaku/shared/error.js.erb +0 -2
- data/app/views/gaku/shared/fields/_address_fields.html.slim +0 -7
- data/app/views/gaku/shared/fields/_attachment_fields.html.slim +0 -10
- data/app/views/gaku/shared/fields/_class_group_fields.html.slim +0 -3
- data/app/views/gaku/shared/fields/_course_fields.html.slim +0 -4
- data/app/views/gaku/shared/fields/_course_show_fields.html.slim +0 -3
- data/app/views/gaku/shared/fields/_exam_portion_fields.html.slim +0 -8
- data/app/views/gaku/shared/fields/_person_edit_table.html.slim +0 -7
- data/app/views/gaku/shared/fields/_person_fields.html.slim +0 -4
- data/app/views/gaku/shared/fields/_person_show_table.html.slim +0 -3
- data/app/views/gaku/shared/fields/_semester_fields.html.slim +0 -1
- data/app/views/gaku/shared/fields/_student_fields.html.slim +0 -22
- data/app/views/gaku/shared/fields/_syllabus_fields.html.slim +0 -5
- data/app/views/gaku/shared/form_fields/_exam_portion_form_fields.html.slim +0 -15
- data/app/views/gaku/shared/form_fields/_person_form_fields.html.slim +0 -16
- data/app/views/gaku/shared/menu/_admin.html.erb +0 -105
- data/app/views/gaku/shared/multi_error.js.erb +0 -2
- data/app/views/gaku/shared/notice.js.erb +0 -2
- data/app/views/gaku/shared/overrides/students/_import_link.html.slim +0 -0
- data/app/views/gaku/shared/overrides/syllabuses/_import_link.html.slim +0 -0
- data/app/views/gaku/shared/student/_academic.html.slim +0 -18
- data/app/views/gaku/shared/student/_edit.html.slim +0 -20
- data/app/views/gaku/shared/student/_personal.html.slim +0 -6
- data/app/views/gaku/shared/student/_show.html.slim +0 -14
- data/app/views/gaku/shared/student/_show_table.html.slim +0 -51
- data/app/views/gaku/shared/student/_tabs.html.slim +0 -36
- data/app/views/gaku/shared/student_chooser/_chooser.html.slim +0 -36
- data/app/views/gaku/shared/student_chooser/_class_group.html.slim +0 -5
- data/app/views/gaku/shared/student_chooser/_course.html.slim +0 -5
- data/app/views/gaku/shared/student_chooser/_extracurricular_activity.html.slim +0 -5
- data/app/views/gaku/shared/student_chooser/_modal.html.slim +0 -4
- data/app/views/gaku/shared/student_chooser/_student.html.slim +0 -18
- data/app/views/gaku/states/_no_states_select.html.slim +0 -1
- data/app/views/gaku/states/_states_select.html.slim +0 -1
- data/app/views/gaku/states/index.js.erb +0 -5
- data/app/views/gaku/students/_delete_modal.html.slim +0 -5
- data/app/views/gaku/students/_form.html.slim +0 -3
- data/app/views/gaku/students/_form_fields.html.slim +0 -19
- data/app/views/gaku/students/_modal.html.slim +0 -6
- data/app/views/gaku/students/_student.html.slim +0 -6
- data/app/views/gaku/students/_student_unit.html.slim +0 -5
- data/app/views/gaku/students/_students.html.slim +0 -17
- data/app/views/gaku/students/class_group_enrollments/_new_modal.html.slim +0 -28
- data/app/views/gaku/students/class_group_enrollments/create.js.erb +0 -11
- data/app/views/gaku/students/class_group_enrollments/new.js.erb +0 -2
- data/app/views/gaku/students/commute_methods/_commute_method.html.slim +0 -6
- data/app/views/gaku/students/commute_methods/_modal.html.slim +0 -6
- data/app/views/gaku/students/commute_methods/create.js.erb +0 -3
- data/app/views/gaku/students/commute_methods/edit.js.erb +0 -5
- data/app/views/gaku/students/commute_methods/new.js.erb +0 -4
- data/app/views/gaku/students/commute_methods/update.js.erb +0 -3
- data/app/views/gaku/students/course_enrollments/_course_enrollment.html.slim +0 -5
- data/app/views/gaku/students/course_enrollments/_course_enrollment_unit.html.slim +0 -3
- data/app/views/gaku/students/course_enrollments/_course_enrollments.html.slim +0 -21
- data/app/views/gaku/students/course_enrollments/_errors_modal.html.slim +0 -11
- data/app/views/gaku/students/course_enrollments/_form.html.slim +0 -5
- data/app/views/gaku/students/course_enrollments/create.js.erb +0 -10
- data/app/views/gaku/students/course_enrollments/destroy.js.erb +0 -3
- data/app/views/gaku/students/course_enrollments/error.js.erb +0 -2
- data/app/views/gaku/students/course_enrollments/new.js.erb +0 -3
- data/app/views/gaku/students/create.js.erb +0 -8
- data/app/views/gaku/students/destroy.js.erb +0 -2
- data/app/views/gaku/students/edit.html.slim +0 -9
- data/app/views/gaku/students/edit.js.erb +0 -3
- data/app/views/gaku/students/guardians/_edit_table.html.slim +0 -9
- data/app/views/gaku/students/guardians/_form.html.slim +0 -3
- data/app/views/gaku/students/guardians/_form_fields.html.slim +0 -4
- data/app/views/gaku/students/guardians/_guardian.html.slim +0 -2
- data/app/views/gaku/students/guardians/_guardian_unit.html.slim +0 -12
- data/app/views/gaku/students/guardians/_guardians.html.slim +0 -26
- data/app/views/gaku/students/guardians/_modal.html.slim +0 -7
- data/app/views/gaku/students/guardians/_picture.html.slim +0 -12
- data/app/views/gaku/students/guardians/_show_table.html.slim +0 -13
- data/app/views/gaku/students/guardians/_tabs.html.slim +0 -15
- data/app/views/gaku/students/guardians/_upload_picture.html.slim +0 -7
- data/app/views/gaku/students/guardians/create.js.erb +0 -7
- data/app/views/gaku/students/guardians/destroy.js.erb +0 -4
- data/app/views/gaku/students/guardians/edit.html.slim +0 -7
- data/app/views/gaku/students/guardians/edit.js.erb +0 -3
- data/app/views/gaku/students/guardians/new.js.erb +0 -3
- data/app/views/gaku/students/guardians/recovery.js.erb +0 -1
- data/app/views/gaku/students/guardians/show.html.slim +0 -14
- data/app/views/gaku/students/guardians/update.js.erb +0 -4
- data/app/views/gaku/students/index.html.slim +0 -16
- data/app/views/gaku/students/index.js.erb +0 -13
- data/app/views/gaku/students/index.pdf.thinreports +0 -17
- data/app/views/gaku/students/new.js.erb +0 -3
- data/app/views/gaku/students/recovery.js.erb +0 -1
- data/app/views/gaku/students/search/_address.html.slim +0 -36
- data/app/views/gaku/students/search/_extended.slim +0 -134
- data/app/views/gaku/students/search/_form.html.slim +0 -25
- data/app/views/gaku/students/search/_student.html.slim +0 -24
- data/app/views/gaku/students/show.html.slim +0 -1
- data/app/views/gaku/students/show.pdf.thinreports +0 -8
- data/app/views/gaku/students/simple_grades/_edit.html.slim +0 -8
- data/app/views/gaku/students/simple_grades/_fields.html.slim +0 -6
- data/app/views/gaku/students/simple_grades/_form.html.slim +0 -6
- data/app/views/gaku/students/simple_grades/_form_fields.html.slim +0 -3
- data/app/views/gaku/students/simple_grades/_index.html.slim +0 -19
- data/app/views/gaku/students/simple_grades/_index_modal.html.slim +0 -4
- data/app/views/gaku/students/simple_grades/_simple_grade.html.slim +0 -3
- data/app/views/gaku/students/simple_grades/_simple_grades.html.slim +0 -2
- data/app/views/gaku/students/simple_grades/create.js.erb +0 -10
- data/app/views/gaku/students/simple_grades/destroy.js.erb +0 -4
- data/app/views/gaku/students/simple_grades/edit.js.erb +0 -2
- data/app/views/gaku/students/simple_grades/index.js.erb +0 -5
- data/app/views/gaku/students/simple_grades/new.js.erb +0 -3
- data/app/views/gaku/students/simple_grades/update.js.erb +0 -4
- data/app/views/gaku/students/student_achievements/_achievements_tab.html.slim +0 -12
- data/app/views/gaku/students/student_achievements/_edit.html.slim +0 -8
- data/app/views/gaku/students/student_achievements/_fields.html.slim +0 -8
- data/app/views/gaku/students/student_achievements/_form.html.slim +0 -6
- data/app/views/gaku/students/student_achievements/_form_fields.html.slim +0 -1
- data/app/views/gaku/students/student_achievements/_index.html.slim +0 -20
- data/app/views/gaku/students/student_achievements/_index_modal.html.slim +0 -4
- data/app/views/gaku/students/student_achievements/_student_achievement.html.slim +0 -3
- data/app/views/gaku/students/student_achievements/_student_achievements.html.slim +0 -2
- data/app/views/gaku/students/student_achievements/create.js.erb +0 -10
- data/app/views/gaku/students/student_achievements/destroy.js.erb +0 -4
- data/app/views/gaku/students/student_achievements/edit.js.erb +0 -2
- data/app/views/gaku/students/student_achievements/index.js.erb +0 -3
- data/app/views/gaku/students/student_achievements/new.js.erb +0 -3
- data/app/views/gaku/students/student_achievements/update.js.erb +0 -5
- data/app/views/gaku/students/student_specialties/_edit.html.slim +0 -8
- data/app/views/gaku/students/student_specialties/_fields.html.slim +0 -5
- data/app/views/gaku/students/student_specialties/_form.html.slim +0 -6
- data/app/views/gaku/students/student_specialties/_form_fields.html.slim +0 -2
- data/app/views/gaku/students/student_specialties/_index.html.slim +0 -18
- data/app/views/gaku/students/student_specialties/_index_modal.html.slim +0 -4
- data/app/views/gaku/students/student_specialties/_specialties_list.html.slim +0 -0
- data/app/views/gaku/students/student_specialties/_student_specialties.html.slim +0 -2
- data/app/views/gaku/students/student_specialties/_student_specialty.html.slim +0 -3
- data/app/views/gaku/students/student_specialties/create.js.erb +0 -11
- data/app/views/gaku/students/student_specialties/destroy.js.erb +0 -5
- data/app/views/gaku/students/student_specialties/edit.js.erb +0 -2
- data/app/views/gaku/students/student_specialties/index.js.erb +0 -5
- data/app/views/gaku/students/student_specialties/new.js.erb +0 -3
- data/app/views/gaku/students/student_specialties/update.js.erb +0 -4
- data/app/views/gaku/students/update.js.erb +0 -3
- data/app/views/gaku/syllabuses/_form.html.slim +0 -3
- data/app/views/gaku/syllabuses/_form_fields.html.slim +0 -10
- data/app/views/gaku/syllabuses/_modal.html.slim +0 -7
- data/app/views/gaku/syllabuses/_syllabus.html.slim +0 -2
- data/app/views/gaku/syllabuses/_syllabus_fields.html.slim +0 -4
- data/app/views/gaku/syllabuses/_syllabuses.html.slim +0 -11
- data/app/views/gaku/syllabuses/assignments/_assignment.html.slim +0 -9
- data/app/views/gaku/syllabuses/assignments/_assignments.html.slim +0 -19
- data/app/views/gaku/syllabuses/assignments/_form.html.slim +0 -17
- data/app/views/gaku/syllabuses/assignments/create.js.erb +0 -7
- data/app/views/gaku/syllabuses/create.js.erb +0 -7
- data/app/views/gaku/syllabuses/destroy.js.erb +0 -2
- data/app/views/gaku/syllabuses/edit.html.slim +0 -59
- data/app/views/gaku/syllabuses/edit.js.erb +0 -3
- data/app/views/gaku/syllabuses/exam_syllabuses/create.js.erb +0 -11
- data/app/views/gaku/syllabuses/exam_syllabuses/destroy.js.erb +0 -6
- data/app/views/gaku/syllabuses/exams/_exam.html.slim +0 -4
- data/app/views/gaku/syllabuses/exams/_exams.html.slim +0 -16
- data/app/views/gaku/syllabuses/exams/_fields.html.slim +0 -9
- data/app/views/gaku/syllabuses/exams/_form.html.slim +0 -15
- data/app/views/gaku/syllabuses/exams/_form_fields.html.slim +0 -10
- data/app/views/gaku/syllabuses/exams/_modal.html.slim +0 -6
- data/app/views/gaku/syllabuses/exams/_select_form.html.slim +0 -6
- data/app/views/gaku/syllabuses/exams/create.js.erb +0 -10
- data/app/views/gaku/syllabuses/exams/destroy.js.erb +0 -2
- data/app/views/gaku/syllabuses/exams/edit.js.erb +0 -3
- data/app/views/gaku/syllabuses/exams/new.js.erb +0 -3
- data/app/views/gaku/syllabuses/exams/update.js.erb +0 -4
- data/app/views/gaku/syllabuses/index.html.slim +0 -14
- data/app/views/gaku/syllabuses/new.js.erb +0 -3
- data/app/views/gaku/syllabuses/update.js.erb +0 -4
- data/app/views/gaku/teachers/_delete_modal.html.slim +0 -5
- data/app/views/gaku/teachers/_edit_table.html.slim +0 -5
- data/app/views/gaku/teachers/_fields.html.slim +0 -1
- data/app/views/gaku/teachers/_form.html.slim +0 -3
- data/app/views/gaku/teachers/_form_fields.html.slim +0 -1
- data/app/views/gaku/teachers/_modal.html.slim +0 -6
- data/app/views/gaku/teachers/_show_table.html.slim +0 -7
- data/app/views/gaku/teachers/_tabs.html.slim +0 -21
- data/app/views/gaku/teachers/_teacher.html.slim +0 -6
- data/app/views/gaku/teachers/_teacher_unit.html.slim +0 -4
- data/app/views/gaku/teachers/_teachers.html.slim +0 -11
- data/app/views/gaku/teachers/create.js.erb +0 -8
- data/app/views/gaku/teachers/destroy.js.erb +0 -2
- data/app/views/gaku/teachers/edit.html.slim +0 -23
- data/app/views/gaku/teachers/edit.js.erb +0 -3
- data/app/views/gaku/teachers/index.html.slim +0 -16
- data/app/views/gaku/teachers/index.js.erb +0 -2
- data/app/views/gaku/teachers/new.js.erb +0 -3
- data/app/views/gaku/teachers/recovery.js.erb +0 -1
- data/app/views/gaku/teachers/show.html.slim +0 -14
- data/app/views/gaku/teachers/update.js.erb +0 -4
- data/app/views/kaminari/_first_page.html.erb +0 -11
- data/app/views/kaminari/_gap.html.erb +0 -8
- data/app/views/kaminari/_last_page.html.erb +0 -11
- data/app/views/kaminari/_next_page.html.erb +0 -11
- data/app/views/kaminari/_page.html.erb +0 -12
- data/app/views/kaminari/_paginator.html.erb +0 -25
- data/app/views/kaminari/_prev_page.html.erb +0 -11
- data/config/initializers/client_side_validations.rb +0 -9
- data/config/initializers/mime_types.rb +0 -1
- data/config/initializers/paper_trail.rb +0 -3
- data/config/initializers/ruby_template_handler.rb +0 -1
- data/config/initializers/wrap_parameters.rb +0 -14
- data/db/migrate/20131014065028_gaku_core.rb +0 -685
- data/lib/gaku/app_responder.rb +0 -6
- data/lib/gaku/core/version.rb +0 -5
- data/lib/gaku/testing/env.rb +0 -10
- data/lib/gaku/testing/factories/student_achievement_factory.rb +0 -8
- data/lib/gaku/testing/flash_helpers.rb +0 -35
- data/lib/gaku/testing/request_helpers.rb +0 -212
- data/vendor/assets/javascripts/backbone.js +0 -1431
- data/vendor/assets/javascripts/tablefix.js.coffee +0 -109
data/config/locales/zh-CN.yml
CHANGED
@@ -12,6 +12,7 @@ zh-CN:
|
|
12
12
|
plural:
|
13
13
|
save:
|
14
14
|
singular:
|
15
|
+
active:
|
15
16
|
add:
|
16
17
|
address:
|
17
18
|
add:
|
@@ -102,6 +103,29 @@ zh-CN:
|
|
102
103
|
save:
|
103
104
|
singular:
|
104
105
|
back:
|
106
|
+
badge:
|
107
|
+
add:
|
108
|
+
edit:
|
109
|
+
index:
|
110
|
+
list:
|
111
|
+
plural:
|
112
|
+
save:
|
113
|
+
singular:
|
114
|
+
badge_type:
|
115
|
+
add:
|
116
|
+
authority:
|
117
|
+
badge:
|
118
|
+
choose:
|
119
|
+
code:
|
120
|
+
description:
|
121
|
+
edit:
|
122
|
+
issuer:
|
123
|
+
list:
|
124
|
+
name:
|
125
|
+
plural:
|
126
|
+
save:
|
127
|
+
singular:
|
128
|
+
url:
|
105
129
|
birth:
|
106
130
|
birth_and:
|
107
131
|
birth_between:
|
@@ -152,8 +176,11 @@ zh-CN:
|
|
152
176
|
save:
|
153
177
|
show:
|
154
178
|
singular:
|
179
|
+
with_semester:
|
180
|
+
without_semester:
|
155
181
|
class_group_course_enrollment:
|
156
182
|
save:
|
183
|
+
singular:
|
157
184
|
class_group_enrollment:
|
158
185
|
count:
|
159
186
|
create:
|
@@ -253,6 +280,41 @@ zh-CN:
|
|
253
280
|
placeholder:
|
254
281
|
default:
|
255
282
|
delete:
|
283
|
+
department:
|
284
|
+
add:
|
285
|
+
defaults:
|
286
|
+
agriculture:
|
287
|
+
aquaculture:
|
288
|
+
art:
|
289
|
+
business:
|
290
|
+
civics:
|
291
|
+
elective_studies:
|
292
|
+
engineering:
|
293
|
+
english:
|
294
|
+
extra-curricular_activities:
|
295
|
+
fine_arts:
|
296
|
+
foreign_language:
|
297
|
+
gymnastics:
|
298
|
+
home_economics:
|
299
|
+
information_sciences:
|
300
|
+
integrated_studies:
|
301
|
+
manufacturing:
|
302
|
+
mathematics:
|
303
|
+
medicine:
|
304
|
+
music:
|
305
|
+
native_language:
|
306
|
+
nursing:
|
307
|
+
physical_education:
|
308
|
+
regional_history:
|
309
|
+
religion:
|
310
|
+
science:
|
311
|
+
scientific_mathematics:
|
312
|
+
welfare:
|
313
|
+
edit:
|
314
|
+
list:
|
315
|
+
name:
|
316
|
+
save:
|
317
|
+
singular:
|
256
318
|
description:
|
257
319
|
destroy:
|
258
320
|
devise:
|
@@ -291,6 +353,7 @@ zh-CN:
|
|
291
353
|
updated:
|
292
354
|
updated_not_active:
|
293
355
|
registrations:
|
356
|
+
admin_create:
|
294
357
|
admin_set_up:
|
295
358
|
destroyed:
|
296
359
|
inactive_signed_up:
|
@@ -317,6 +380,7 @@ zh-CN:
|
|
317
380
|
unlocked:
|
318
381
|
username:
|
319
382
|
edit:
|
383
|
+
eg:
|
320
384
|
email:
|
321
385
|
empty:
|
322
386
|
enroll_to_class:
|
@@ -411,10 +475,13 @@ zh-CN:
|
|
411
475
|
extended:
|
412
476
|
external_school_record:
|
413
477
|
absences:
|
478
|
+
add:
|
414
479
|
attendance_rate:
|
415
480
|
beginning:
|
416
481
|
data:
|
417
482
|
ending:
|
483
|
+
list:
|
484
|
+
plural:
|
418
485
|
singular:
|
419
486
|
student_id_number:
|
420
487
|
extracurricular_activity:
|
@@ -441,8 +508,16 @@ zh-CN:
|
|
441
508
|
destroy:
|
442
509
|
alert:
|
443
510
|
notice:
|
511
|
+
recovery:
|
512
|
+
alert:
|
513
|
+
notice:
|
514
|
+
soft_delete:
|
515
|
+
alert:
|
516
|
+
notice:
|
444
517
|
update:
|
445
518
|
notice:
|
519
|
+
update_master:
|
520
|
+
notice:
|
446
521
|
full_name:
|
447
522
|
full_name_reading:
|
448
523
|
gaku_engine:
|
@@ -452,6 +527,7 @@ zh-CN:
|
|
452
527
|
label:
|
453
528
|
male:
|
454
529
|
unknown:
|
530
|
+
generate_report:
|
455
531
|
grade:
|
456
532
|
all_exams:
|
457
533
|
average_points:
|
@@ -470,16 +546,27 @@ zh-CN:
|
|
470
546
|
weighting_portion:
|
471
547
|
grading_method:
|
472
548
|
add:
|
549
|
+
add_argument:
|
550
|
+
add_criteria:
|
473
551
|
arguments:
|
474
552
|
choose:
|
553
|
+
criteria:
|
475
554
|
curved:
|
476
555
|
description:
|
477
556
|
edit:
|
557
|
+
interval:
|
478
558
|
list:
|
479
559
|
method:
|
480
560
|
name:
|
561
|
+
ordinal:
|
562
|
+
pass_fail:
|
563
|
+
percentage:
|
481
564
|
plural:
|
565
|
+
ratio:
|
566
|
+
remove_argument:
|
567
|
+
remove_criteria:
|
482
568
|
save:
|
569
|
+
score:
|
483
570
|
singular:
|
484
571
|
grading_method_set:
|
485
572
|
add:
|
@@ -496,7 +583,11 @@ zh-CN:
|
|
496
583
|
already:
|
497
584
|
edit:
|
498
585
|
save:
|
586
|
+
singular:
|
499
587
|
graduated:
|
588
|
+
group:
|
589
|
+
plural:
|
590
|
+
singular:
|
500
591
|
guardian:
|
501
592
|
add:
|
502
593
|
addresses:
|
@@ -529,11 +620,13 @@ zh-CN:
|
|
529
620
|
admin:
|
530
621
|
administration:
|
531
622
|
administrator:
|
623
|
+
badge_types:
|
532
624
|
changes:
|
533
625
|
changes:
|
534
626
|
student_addresses:
|
535
627
|
student_contacts:
|
536
628
|
students:
|
629
|
+
departments:
|
537
630
|
disposals:
|
538
631
|
address:
|
539
632
|
attachment:
|
@@ -548,25 +641,7 @@ zh-CN:
|
|
548
641
|
grading_sets:
|
549
642
|
grading_methods:
|
550
643
|
preset:
|
551
|
-
grading:
|
552
|
-
grading_method:
|
553
|
-
grading_scheme:
|
554
|
-
items:
|
555
|
-
defaults:
|
556
|
-
grading:
|
557
|
-
locale:
|
558
|
-
names:
|
559
|
-
student:
|
560
|
-
names:
|
561
|
-
pagination:
|
562
644
|
plural:
|
563
|
-
save:
|
564
|
-
singular:
|
565
|
-
student:
|
566
|
-
city:
|
567
|
-
country:
|
568
|
-
gender:
|
569
|
-
state:
|
570
645
|
school_details:
|
571
646
|
school_years:
|
572
647
|
schools:
|
@@ -645,28 +720,42 @@ zh-CN:
|
|
645
720
|
change:
|
646
721
|
upload:
|
647
722
|
preset:
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
723
|
+
address:
|
724
|
+
city:
|
725
|
+
country:
|
726
|
+
singular:
|
727
|
+
state:
|
728
|
+
chooser_field:
|
729
|
+
plural:
|
730
|
+
export_formats:
|
653
731
|
choose:
|
654
732
|
documents:
|
733
|
+
plural:
|
655
734
|
printables:
|
656
735
|
spreadsheets:
|
736
|
+
grading:
|
737
|
+
grading_method:
|
738
|
+
grading_scheme:
|
739
|
+
singular:
|
740
|
+
list:
|
741
|
+
locale:
|
742
|
+
name:
|
743
|
+
names_order:
|
657
744
|
pagination:
|
658
745
|
per_page:
|
659
746
|
changes:
|
660
747
|
default:
|
661
748
|
students:
|
749
|
+
teachers:
|
750
|
+
person:
|
751
|
+
gender:
|
752
|
+
singular:
|
662
753
|
plural:
|
663
754
|
save:
|
664
755
|
singular:
|
665
756
|
student:
|
666
|
-
|
667
|
-
|
668
|
-
gender:
|
669
|
-
state:
|
757
|
+
id_code:
|
758
|
+
singular:
|
670
759
|
profile:
|
671
760
|
profiles:
|
672
761
|
new:
|
@@ -708,6 +797,7 @@ zh-CN:
|
|
708
797
|
list:
|
709
798
|
name:
|
710
799
|
save:
|
800
|
+
singular:
|
711
801
|
save:
|
712
802
|
schedule:
|
713
803
|
school:
|
@@ -772,6 +862,7 @@ zh-CN:
|
|
772
862
|
semester_class_group:
|
773
863
|
choose:
|
774
864
|
save:
|
865
|
+
singular:
|
775
866
|
uniqueness:
|
776
867
|
semester_course:
|
777
868
|
uniqueness:
|
@@ -780,12 +871,24 @@ zh-CN:
|
|
780
871
|
show:
|
781
872
|
simple_grade:
|
782
873
|
add:
|
874
|
+
award_date:
|
783
875
|
edit:
|
784
876
|
grade:
|
785
877
|
index:
|
786
878
|
list:
|
787
879
|
plural:
|
788
880
|
save:
|
881
|
+
score:
|
882
|
+
singular:
|
883
|
+
simple_grade_type:
|
884
|
+
add:
|
885
|
+
edit:
|
886
|
+
list:
|
887
|
+
max_score:
|
888
|
+
name:
|
889
|
+
passing_score:
|
890
|
+
plural:
|
891
|
+
save:
|
789
892
|
singular:
|
790
893
|
specialty:
|
791
894
|
add:
|
@@ -801,6 +904,18 @@ zh-CN:
|
|
801
904
|
plural:
|
802
905
|
save:
|
803
906
|
singular:
|
907
|
+
state:
|
908
|
+
abbr:
|
909
|
+
add:
|
910
|
+
code:
|
911
|
+
country_iso:
|
912
|
+
edit:
|
913
|
+
list:
|
914
|
+
name:
|
915
|
+
name_ascii:
|
916
|
+
plural:
|
917
|
+
save:
|
918
|
+
singular:
|
804
919
|
student:
|
805
920
|
academic_information:
|
806
921
|
add:
|
@@ -817,6 +932,7 @@ zh-CN:
|
|
817
932
|
edit:
|
818
933
|
enroll:
|
819
934
|
export:
|
935
|
+
foreign_id_code:
|
820
936
|
foreign_id_number:
|
821
937
|
id_number:
|
822
938
|
import:
|
@@ -835,11 +951,13 @@ zh-CN:
|
|
835
951
|
edit:
|
836
952
|
index:
|
837
953
|
save:
|
954
|
+
singular:
|
838
955
|
student_name:
|
839
956
|
student_specialty:
|
840
957
|
edit:
|
841
958
|
index:
|
842
959
|
save:
|
960
|
+
singular:
|
843
961
|
submit:
|
844
962
|
success:
|
845
963
|
enrolled:
|
data/config/routes.rb
CHANGED
@@ -1,25 +1,5 @@
|
|
1
1
|
Gaku::Core::Engine.routes.draw do
|
2
2
|
|
3
|
-
concern :addressable do
|
4
|
-
resources :addresses do
|
5
|
-
member do
|
6
|
-
patch :make_primary
|
7
|
-
patch :soft_delete
|
8
|
-
patch :recovery
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
concern :contactable do
|
14
|
-
resources :contacts do
|
15
|
-
member do
|
16
|
-
patch :make_primary
|
17
|
-
patch :soft_delete
|
18
|
-
patch :recovery
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
3
|
devise_for :users, {
|
24
4
|
class_name: 'Gaku::User',
|
25
5
|
module: :devise,
|
@@ -30,277 +10,8 @@ Gaku::Core::Engine.routes.draw do
|
|
30
10
|
}
|
31
11
|
}
|
32
12
|
|
33
|
-
|
34
|
-
get :set_up_admin_account, to: 'devise/registrations#set_up_admin_account'
|
35
|
-
post :create_admin, to: 'devise/registrations#create_admin'
|
36
|
-
end
|
37
|
-
|
38
|
-
resources :extracurricular_activities do
|
39
|
-
member do
|
40
|
-
get :student_chooser
|
41
|
-
end
|
42
|
-
|
43
|
-
resources :students, controller: 'extracurricular_activities/students' do
|
44
|
-
collection do
|
45
|
-
post :enroll_student
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
resources :class_groups do
|
51
|
-
member do
|
52
|
-
get :student_chooser
|
53
|
-
end
|
54
|
-
resources :semester_class_groups, controller: 'class_groups/semester_class_groups'
|
55
|
-
resources :class_group_course_enrollments, controller: 'class_groups/courses'
|
56
|
-
resources :notes
|
57
|
-
|
58
|
-
resources :students, controller: 'class_groups/students' do
|
59
|
-
collection do
|
60
|
-
post :enroll_student
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
|
66
|
-
resources :courses do
|
67
|
-
resources :semester_courses, controller: 'courses/semester_courses'
|
68
|
-
resources :notes
|
69
|
-
resources :enrollments, controller: 'courses/enrollments' do
|
70
|
-
post :enroll_class_group, on: :collection
|
71
|
-
post :enroll_student, on: :collection
|
72
|
-
end
|
73
|
-
|
74
|
-
resources :exams do
|
75
|
-
resources :exam_portion_scores do
|
76
|
-
resources :attendances
|
77
|
-
end
|
78
|
-
|
79
|
-
collection do
|
80
|
-
get :grading
|
81
|
-
get :export
|
82
|
-
end
|
83
|
-
|
84
|
-
member do
|
85
|
-
get :grading
|
86
|
-
put :update_score
|
87
|
-
get :completed
|
88
|
-
end
|
89
|
-
|
90
|
-
end
|
91
|
-
member do
|
92
|
-
get :student_chooser
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
|
97
|
-
resources :class_group_enrollments do
|
98
|
-
collection do
|
99
|
-
post :enroll_students
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
|
104
|
-
resources :course_enrollments do
|
105
|
-
collection do
|
106
|
-
post :enroll_students
|
107
|
-
end
|
108
|
-
end
|
109
|
-
|
110
|
-
|
111
|
-
resources :extracurricular_activity_enrollments do
|
112
|
-
collection do
|
113
|
-
post :enroll_students
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
|
118
|
-
#resources :exam_portion_scores
|
119
|
-
|
120
|
-
resources :syllabuses do
|
121
|
-
resources :assignments, controller: 'syllabuses/assignments'
|
122
|
-
resources :exams, controller: 'syllabuses/exams'
|
123
|
-
resources :exam_syllabuses, controller: 'syllabuses/exam_syllabuses'
|
124
|
-
resources :notes
|
125
|
-
end
|
126
|
-
|
127
|
-
resources :teachers, concerns: %i( addressable contactable ) do
|
128
|
-
get 'page/:page', action: :index, on: :collection
|
129
|
-
member do
|
130
|
-
get :soft_delete
|
131
|
-
get :recovery
|
132
|
-
get :show_deleted
|
133
|
-
end
|
134
|
-
|
135
|
-
resources :notes
|
136
|
-
end
|
137
|
-
|
138
|
-
resources :students, concerns: %i( addressable contactable ) do
|
139
|
-
|
140
|
-
member do
|
141
|
-
patch :recovery
|
142
|
-
patch :soft_delete
|
143
|
-
get :show_deleted
|
144
|
-
end
|
145
|
-
|
146
|
-
collection do
|
147
|
-
get 'page/:page', action: :index
|
148
|
-
get :load_autocomplete_data
|
149
|
-
|
150
|
-
|
151
|
-
end
|
152
|
-
|
153
|
-
resources :simple_grades, controller: 'students/simple_grades'
|
154
|
-
resources :commute_methods, controller: 'students/commute_methods'
|
155
|
-
resources :student_achievements, controller: 'students/student_achievements'
|
156
|
-
resources :student_specialties, controller: 'students/student_specialties'
|
157
|
-
|
158
|
-
resources :guardians, controller: 'students/guardians', concerns: %i( addressable contactable ) do
|
159
|
-
member do
|
160
|
-
get :soft_delete
|
161
|
-
get :recovery
|
162
|
-
end
|
163
|
-
|
164
|
-
end
|
165
|
-
|
166
|
-
resources :notes
|
167
|
-
resources :course_enrollments, controller: 'students/course_enrollments'
|
168
|
-
resources :class_group_enrollments, controller: 'students/class_group_enrollments'
|
169
|
-
#resources :exams
|
170
|
-
#resources :courses
|
171
|
-
|
172
|
-
end
|
173
|
-
|
174
|
-
resources :exams do
|
175
|
-
member do
|
176
|
-
put :create_exam_portion
|
177
|
-
delete :soft_delete
|
178
|
-
get :recovery
|
179
|
-
end
|
180
|
-
|
181
|
-
resources :notes
|
182
|
-
resources :exam_scores
|
183
|
-
resources :exam_portions, controller: 'exams/exam_portions' do
|
184
|
-
post :sort, on: :collection
|
185
|
-
resources :attachments, controller: 'exams/exam_portions/attachments'
|
186
|
-
end
|
187
|
-
end
|
188
|
-
|
189
|
-
resources :states
|
190
|
-
|
191
|
-
resources :course_groups do
|
192
|
-
resources :course_group_enrollments, controller: 'course_groups/course_group_enrollments'
|
193
|
-
member do
|
194
|
-
delete :soft_delete
|
195
|
-
get :recovery
|
196
|
-
end
|
197
|
-
end
|
13
|
+
resources :states, only: :index
|
198
14
|
|
199
15
|
root to: 'home#index'
|
200
16
|
|
201
|
-
|
202
|
-
scope path: :admin, as: :admin do
|
203
|
-
resources :schools, controller: 'admin/schools' do
|
204
|
-
resources :programs, controller: 'admin/schools/programs' do
|
205
|
-
member do
|
206
|
-
get :show_program_levels
|
207
|
-
get :show_program_syllabuses
|
208
|
-
get :show_program_specialties
|
209
|
-
end
|
210
|
-
end
|
211
|
-
resources :campuses, controller: 'admin/schools/campuses', concerns: %i( contactable ) do
|
212
|
-
resources :addresses, controller: 'admin/schools/campuses/addresses'
|
213
|
-
end
|
214
|
-
end
|
215
|
-
end
|
216
|
-
|
217
|
-
namespace :admin do
|
218
|
-
resources :achievements
|
219
|
-
resources :specialties
|
220
|
-
resources :system_tools
|
221
|
-
resources :commute_method_types
|
222
|
-
resources :contact_types
|
223
|
-
resources :enrollment_statuses
|
224
|
-
resources :attendance_types
|
225
|
-
resources :departments
|
226
|
-
resources :users do
|
227
|
-
get 'page/:page', action: :index, on: :collection
|
228
|
-
end
|
229
|
-
resources :roles
|
230
|
-
resources :templates do
|
231
|
-
get :download, on: :member
|
232
|
-
end
|
233
|
-
resources :grading_methods
|
234
|
-
resources :grading_method_sets do
|
235
|
-
post :make_primary, on: :member
|
236
|
-
resources :grading_method_set_items, controller: 'grading_method_sets/grading_method_set_items' do
|
237
|
-
post :sort, on: :collection
|
238
|
-
end
|
239
|
-
end
|
240
|
-
resources :states do
|
241
|
-
post :country_states, on: :collection
|
242
|
-
end
|
243
|
-
|
244
|
-
resources :school_years do
|
245
|
-
resources :semesters, controller: 'school_years/semesters'
|
246
|
-
end
|
247
|
-
|
248
|
-
|
249
|
-
namespace :changes do
|
250
|
-
resources :students, controller: 'student_changes' do
|
251
|
-
get 'page/:page', action: :index, on: :collection
|
252
|
-
end
|
253
|
-
resources :student_contacts, controller: 'student_contact_changes'
|
254
|
-
resources :student_addresses, controller: 'student_address_changes'
|
255
|
-
end
|
256
|
-
|
257
|
-
resources :presets do
|
258
|
-
collection do
|
259
|
-
get :students
|
260
|
-
get :locale
|
261
|
-
get :grading
|
262
|
-
get :pagination
|
263
|
-
get :defaults
|
264
|
-
get :output_formats
|
265
|
-
get :names
|
266
|
-
|
267
|
-
put :update_presets
|
268
|
-
end
|
269
|
-
end
|
270
|
-
|
271
|
-
resources :disposals do
|
272
|
-
collection do
|
273
|
-
get :students
|
274
|
-
get :teachers
|
275
|
-
get :guardians
|
276
|
-
get :exams
|
277
|
-
get :course_groups
|
278
|
-
get :attachments
|
279
|
-
get :addresses
|
280
|
-
get :contacts
|
281
|
-
|
282
|
-
get 'students/page/:page', action: :students
|
283
|
-
get 'teachers/page/:page', action: :teachers
|
284
|
-
get 'guardians/page/:page', action: :guardians
|
285
|
-
get 'exams/page/:page', action: :exams
|
286
|
-
get 'course_groups/page/:page', action: :course_groups
|
287
|
-
get 'attachments/page/:page', action: :attachments
|
288
|
-
get 'addresses/page/:page', action: :addresses
|
289
|
-
get 'contacts/page/:page', action: :contacts
|
290
|
-
end
|
291
|
-
end
|
292
|
-
|
293
|
-
match 'school_details' => 'schools#school_details', via: :get
|
294
|
-
match 'school_details/edit' => 'schools#edit_master', via: :get
|
295
|
-
|
296
|
-
end
|
297
|
-
|
298
|
-
resources :attachments do
|
299
|
-
member do
|
300
|
-
get :download
|
301
|
-
delete :soft_delete
|
302
|
-
get :recovery
|
303
|
-
end
|
304
|
-
end
|
305
|
-
|
306
17
|
end
|
@@ -73,14 +73,14 @@ types = [
|
|
73
73
|
|
74
74
|
types.each do |type|
|
75
75
|
I18n.locale = :en
|
76
|
-
attendance_type = Gaku::AttendanceType.
|
76
|
+
attendance_type = Gaku::AttendanceType.where(
|
77
77
|
name: type[:name],
|
78
78
|
color_code: type[:color_code],
|
79
79
|
counted_absent: type[:counted_absent],
|
80
80
|
disable_credit: type[:disable_credit],
|
81
81
|
credit_rate: type[:credit_rate],
|
82
82
|
auto_credit: type[:auto_credit]
|
83
|
-
)
|
83
|
+
).first_or_create!
|
84
84
|
|
85
85
|
I18n.locale = :ja
|
86
86
|
attendance_type.update_attributes(name: type[:name_ja])
|
@@ -14,7 +14,7 @@ commute_method_types = [
|
|
14
14
|
|
15
15
|
commute_method_types.each do |type|
|
16
16
|
I18n.locale = :en
|
17
|
-
commute_method_type = Gaku::CommuteMethodType.
|
17
|
+
commute_method_type = Gaku::CommuteMethodType.where(name: type[:name]).first_or_create!
|
18
18
|
|
19
19
|
I18n.locale = :ja
|
20
20
|
commute_method_type.update_attributes(name: type[:name_ja])
|
@@ -7,7 +7,7 @@ departments = [
|
|
7
7
|
|
8
8
|
departments.each do |d|
|
9
9
|
I18n.locale = :en
|
10
|
-
department = Gaku::Department.
|
10
|
+
department = Gaku::Department.where(name: d[:name]).first_or_create!
|
11
11
|
|
12
12
|
I18n.locale = :ja
|
13
13
|
department.update_attributes(name: d[:name_ja])
|
@@ -0,0 +1,33 @@
|
|
1
|
+
if Gaku::Preset.count.zero?
|
2
|
+
Gaku::Preset.create!(
|
3
|
+
name: 'Default',
|
4
|
+
default: true,
|
5
|
+
active: true,
|
6
|
+
locale: 'en',
|
7
|
+
names_order: '%first %middle %last',
|
8
|
+
pagination: {
|
9
|
+
default: 25,
|
10
|
+
students: 25,
|
11
|
+
teachers: 25,
|
12
|
+
changes: 25
|
13
|
+
},
|
14
|
+
person: { gender: true },
|
15
|
+
student: { id_code: '%year-%yearly_serial', increment_foreign_id_code: 1 },
|
16
|
+
address: { country: 'JP', state: 'Aichi', city: 'Nagoya' },
|
17
|
+
grading: { scheme: '', method: '' },
|
18
|
+
export_formats: { spreadsheets: 'xls', printables: 'pdf', documents: 'xls' },
|
19
|
+
|
20
|
+
chooser_fields: {
|
21
|
+
show_name: 1,
|
22
|
+
show_surname: 1,
|
23
|
+
show_birth_date: 1,
|
24
|
+
show_gender: 1,
|
25
|
+
show_code: 1,
|
26
|
+
show_class_name: 1,
|
27
|
+
show_admitted: 1,
|
28
|
+
show_primary_address: 1,
|
29
|
+
show_primary_contact: 1,
|
30
|
+
show_personal_information: 1
|
31
|
+
}
|
32
|
+
)
|
33
|
+
end
|