diff --git a/CHANGELOG.md b/CHANGELOG.md index e493ecec1..70edf06e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ ## v2.2.2 2016 June 23 - Fix some bugs: users with uncompleted account (sso imported) won't appear in statistics, in listings and in searches. Moreover, they won't block statistics generation - Fix a bug: unable to display next results in statistics tables -- Admin: Category is mandatory when creating a course/workshop (event) +- Admin: Category is mandatory when creating an event ## v2.2.1 2016 June 22 - Fix a bug: field User.merged_at should not be allowed to be mapped in SSO diff --git a/app/assets/javascripts/controllers/admin/events.coffee b/app/assets/javascripts/controllers/admin/events.coffee index 571a1eab0..d501f6a1b 100644 --- a/app/assets/javascripts/controllers/admin/events.coffee +++ b/app/assets/javascripts/controllers/admin/events.coffee @@ -25,7 +25,7 @@ class EventsController constructor: ($scope, $state, Event, Category) -> - ## Retrieve the list of categories from the server (stage, atelier, ...) + ## Retrieve the list of categories from the server (course, workshop, ...) Category.query().$promise.then (data)-> $scope.categories = data.map (d) -> id: d.id diff --git a/app/assets/javascripts/controllers/events.coffee.erb b/app/assets/javascripts/controllers/events.coffee.erb index b74cd734d..d5269f908 100644 --- a/app/assets/javascripts/controllers/events.coffee.erb +++ b/app/assets/javascripts/controllers/events.coffee.erb @@ -353,7 +353,7 @@ Application.Controllers.controller "ShowEventController", ["$scope", "$state", " # Create an hash map implementing the Reservation specs # @param member {Object} User as retreived from the API: current user / selected user if current is admin # @param reserve {Object} Reservation parameters (places...) - # @param event {Object} Current event (Atelier/Stage) + # @param event {Object} Current event # @return {{user_id:Number, reservable_id:Number, reservable_type:String, slots_attributes:Array, nb_reserve_places:Number, nb_reserve_reduced_places:Number}} ## mkReservation = (member, reserve, event) -> diff --git a/app/assets/javascripts/controllers/main_nav.coffee.erb b/app/assets/javascripts/controllers/main_nav.coffee.erb index 17dbab535..5e5827cb8 100644 --- a/app/assets/javascripts/controllers/main_nav.coffee.erb +++ b/app/assets/javascripts/controllers/main_nav.coffee.erb @@ -25,7 +25,7 @@ Application.Controllers.controller "MainNavController", ["$scope", "$location", } { state: 'app.public.events_list' - linkText: 'courses_and_workshops_registrations' + linkText: 'events_registrations' linkIcon: 'tags' } { @@ -73,7 +73,7 @@ Application.Controllers.controller "MainNavController", ["$scope", "$location", } { state: 'app.admin.events' - linkText: 'courses_and_workshops_monitoring' + linkText: 'events_monitoring' linkIcon: 'tags' } { diff --git a/app/assets/templates/admin/events/index.html.erb b/app/assets/templates/admin/events/index.html.erb index 1a38d12d3..f7aa514d0 100644 --- a/app/assets/templates/admin/events/index.html.erb +++ b/app/assets/templates/admin/events/index.html.erb @@ -7,7 +7,7 @@
-

{{ 'fablab_courses_and_workshops' }}

+

{{ 'fablab_events' }}

@@ -71,7 +71,7 @@
diff --git a/app/assets/templates/admin/members/edit.html.erb b/app/assets/templates/admin/members/edit.html.erb index 92107c960..e8b9eaf94 100644 --- a/app/assets/templates/admin/members/edit.html.erb +++ b/app/assets/templates/admin/members/edit.html.erb @@ -138,11 +138,11 @@ - +
-

{{ 'next_courses_and_workshops' | translate }}

+

{{ 'next_events' | translate }}

    @@ -158,14 +158,14 @@
-
{{ 'no_upcomning_courses_or_workshops'}}
+
{{ 'no_upcoming_events' }}
-

{{ 'passed_courses_and_workshops' | translate }}

+

{{ 'passed_events' | translate }}

    @@ -173,7 +173,7 @@ {{r.reservable.title}} - {{ r.start_at | amDateFormat:'LLL' }} - {{ r.end_at | amDateFormat:'LT' }}
-
{{ 'no_passed_courses_or_workshop' }}
+
{{ 'no_passed_events' }}
diff --git a/app/assets/templates/dashboard/events.html.erb b/app/assets/templates/dashboard/events.html.erb index 0903ba9dd..dc578ecf9 100644 --- a/app/assets/templates/dashboard/events.html.erb +++ b/app/assets/templates/dashboard/events.html.erb @@ -13,7 +13,7 @@
-

{{ 'your_next_courses_and_workshops' | translate }}

+

{{ 'your_next_events' | translate }}

    @@ -23,14 +23,14 @@
    {{ 'NUMBER_reduced_fare_places_reserved' }}
-
{{ 'no_courses_or_workshops_to_come' }}
+
{{ 'no_events_to_come' }}
-

{{ 'your_previous_courses_and_workshops' | translate }}

+

{{ 'your_previous_events' | translate }}

    @@ -38,7 +38,7 @@ {{r.reservable.title}} - {{ r.start_at | amDateFormat:'LLL' }} - {{ r.end_at | amDateFormat:'LT' }}
-
{{ 'no_passed_courses_or_workshops' }}
+
{{ 'no_passed_events' }}
diff --git a/app/assets/templates/dashboard/nav.html.erb b/app/assets/templates/dashboard/nav.html.erb index ee0c398c0..954fcd515 100644 --- a/app/assets/templates/dashboard/nav.html.erb +++ b/app/assets/templates/dashboard/nav.html.erb @@ -14,7 +14,7 @@
  • {{ 'my_settings' }}
  • {{ 'my_projects' }}
  • {{ 'my_trainings' }}
  • -
  • {{ 'my_courses_and_workshops' }}
  • +
  • {{ 'my_events' }}
  • {{ 'my_invoices' }}
  • diff --git a/app/assets/templates/events/index.html.erb b/app/assets/templates/events/index.html.erb index 9182191a4..51c777689 100644 --- a/app/assets/templates/events/index.html.erb +++ b/app/assets/templates/events/index.html.erb @@ -7,7 +7,7 @@
    -

    {{ 'the_fablab_s_courses_and_workshops' }}

    +

    {{ 'the_fablab_s_events' }}

    @@ -51,7 +51,7 @@ diff --git a/app/assets/templates/home.html.erb b/app/assets/templates/home.html.erb index 134e65afe..e69fb0943 100644 --- a/app/assets/templates/home.html.erb +++ b/app/assets/templates/home.html.erb @@ -80,7 +80,7 @@
    -

    {{ 'fablab_s_next_courses_and_workshops' | translate }} {{ 'every_events' | translate }}

    +

    {{ 'fablab_s_next_events' | translate }} {{ 'every_events' | translate }}

    diff --git a/app/assets/templates/shared/header.html.erb b/app/assets/templates/shared/header.html.erb index 180fd7493..263be0ab2 100644 --- a/app/assets/templates/shared/header.html.erb +++ b/app/assets/templates/shared/header.html.erb @@ -38,7 +38,7 @@
  • {{ 'my_settings' }}
  • {{ 'my_projects' }}
  • {{ 'my_trainings' }}
  • -
  • {{ 'my_courses_and_workshops' }}
  • +
  • {{ 'my_events' }}
  • {{ 'my_invoices' }}
  • diff --git a/app/assets/templates/shared/leftnav.html.erb b/app/assets/templates/shared/leftnav.html.erb index b50dd1d58..8c6141a4b 100644 --- a/app/assets/templates/shared/leftnav.html.erb +++ b/app/assets/templates/shared/leftnav.html.erb @@ -53,7 +53,7 @@