mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-03-21 12:29:03 +01:00
Merge branch 'dev' into host
This commit is contained in:
commit
55ae979213
@ -1,10 +1,16 @@
|
||||
# Changelog Fab Manager
|
||||
|
||||
## v2.8.3 2019 January 29
|
||||
|
||||
- Added user's manual (fr)
|
||||
- Fix a bug: unable to run rails console
|
||||
- Fix a bug: some reservation slots are not shown on the user calendars (#127)
|
||||
|
||||
## v2.8.2 2019 January 22
|
||||
|
||||
- Removed ability to disable invoicing for an user
|
||||
- Improved user autocompletion when using multiple words
|
||||
- Refactored API controllers
|
||||
- Fixed a missing translation in plan form
|
||||
- Fix a bug: error handling on password recovery
|
||||
- Fix a bug: error handling on machine attachment upload
|
||||
@ -14,7 +20,6 @@
|
||||
- Fix a bug: unable to create/edit a plan of 12 months or 52 weeks
|
||||
- Fix a bug: Unable to search in user autocomplete fields
|
||||
- Fix a bug: Invalid translation in new partner modal
|
||||
- Improved user autocompletion when using multiple words
|
||||
- Refactored frontend invoices translations
|
||||
- Updated RailRoady 1.4.0 to 1.5.3
|
||||
- [TODO DEPLOY] `bundle install`
|
||||
|
@ -43,5 +43,7 @@ class NotificationType
|
||||
notify_member_about_coupon
|
||||
notify_member_reservation_reminder
|
||||
]
|
||||
# deprecated: notify_admin_invoicing_changed
|
||||
# deprecated:
|
||||
# - notify_member_subscribed_plan_is_changed
|
||||
# - notify_admin_invoicing_changed
|
||||
end
|
||||
|
@ -59,7 +59,7 @@ class Availabilities::AvailabilitiesService
|
||||
end
|
||||
end
|
||||
slots.each do |s|
|
||||
s.title = t('availabilities.not_available') if s.is_complete? && !s.is_reserved
|
||||
s.title = I18n.t('availabilities.not_available') if s.is_complete? && !s.is_reserved
|
||||
end
|
||||
slots
|
||||
end
|
||||
|
@ -17,13 +17,13 @@ class Availabilities::StatusService
|
||||
|
||||
slot.id = s.id
|
||||
slot.is_reserved = true
|
||||
slot.title = "#{slot.machine.name} - #{show_name ? r.user.profile.full_name : t('availabilities.not_available')}"
|
||||
slot.title = "#{slot.machine.name} - #{show_name ? r.user.profile.full_name : I18n.t('availabilities.not_available')}"
|
||||
slot.can_modify = true if @current_user_role == 'admin'
|
||||
slot.reservations.push r
|
||||
|
||||
next unless r.user == user
|
||||
|
||||
slot.title = "#{slot.machine.name} - #{t('availabilities.i_ve_reserved')}"
|
||||
slot.title = "#{slot.machine.name} - #{I18n.t('availabilities.i_ve_reserved')}"
|
||||
slot.can_modify = true
|
||||
slot.is_reserved_by_current_user = true
|
||||
end
|
||||
@ -45,7 +45,7 @@ class Availabilities::StatusService
|
||||
next unless r.user == user
|
||||
|
||||
slot.id = s.id
|
||||
slot.title = t('availabilities.i_ve_reserved')
|
||||
slot.title = I18n.t('availabilities.i_ve_reserved')
|
||||
slot.can_modify = true
|
||||
slot.is_reserved = true
|
||||
end
|
||||
|
BIN
doc/fr/guide_utilisation_fab_manager_v3.0.pdf
Normal file
BIN
doc/fr/guide_utilisation_fab_manager_v3.0.pdf
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "fab-manager",
|
||||
"version": "2.8.2",
|
||||
"version": "2.8.3",
|
||||
"description": "FabManager is the FabLab management solution. It is web-based, open-source and totally free.",
|
||||
"keywords": [
|
||||
"fablab",
|
||||
|
Loading…
x
Reference in New Issue
Block a user