mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-03-01 23:29:23 +01:00
calendar training slot redirect to fetch of training
This commit is contained in:
parent
f26e211acb
commit
0b1a19cd76
@ -64,6 +64,7 @@ Application.Controllers.controller "CalendarController", ["$scope", "$state", "$
|
|||||||
if event.available_type == 'event'
|
if event.available_type == 'event'
|
||||||
$state.go('app.public.events_show', {id: event.event_id})
|
$state.go('app.public.events_show', {id: event.event_id})
|
||||||
else if event.available_type == 'training'
|
else if event.available_type == 'training'
|
||||||
|
$state.go('app.public.training_show', {id: event.training_id})
|
||||||
else
|
else
|
||||||
$state.go('app.public.machines_show', {id: event.machine_id})
|
$state.go('app.public.machines_show', {id: event.machine_id})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user