mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 18:59:09 -04:00
Edit Material Design Dashboard
This commit is contained in:
@@ -112,11 +112,17 @@ class ScheduleController extends Controller
|
||||
'title' => $schedule->data['event_name'],
|
||||
'start' => $schedule->date.'T'.$schedule->data['event_begin_time'],
|
||||
'end' => $schedule->date.'T'.$schedule->data['event_end_time'],
|
||||
'color' => $color
|
||||
'color' => $color,
|
||||
'id' => $schedule->id
|
||||
];
|
||||
array_push($events,$event);
|
||||
}
|
||||
|
||||
return json_encode($events);
|
||||
}
|
||||
|
||||
public function loadModal($id)
|
||||
{
|
||||
return view('public.modal.schedule',['event' => \App\Schedule::find($id)]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -208,7 +208,7 @@ class UserController extends Controller
|
||||
|
||||
$user->save();
|
||||
|
||||
return back()->with('status', 'Votre avatar a été mis à jour !');
|
||||
return back()->with('success', 'Votre avatar a été mis à jour !');
|
||||
}
|
||||
|
||||
public function UserAvatar()
|
||||
@@ -229,7 +229,7 @@ class UserController extends Controller
|
||||
|
||||
$user->save();
|
||||
|
||||
return back()->with('status', 'Modification enregistré');
|
||||
return back()->with('success', 'Modification enregistré');
|
||||
}
|
||||
|
||||
public function UserAdress()
|
||||
@@ -245,6 +245,6 @@ class UserController extends Controller
|
||||
|
||||
$user->save();
|
||||
|
||||
return back()->with('status', 'Modification enregistré');
|
||||
return back()->with('success', 'Modification enregistré');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user