/** * Shows the incident templates. * * @return \Illuminate\View\View */ public function showTemplates() { return View::make('dashboard.templates.index')->withPageTitle(trans('dashboard.incidents.templates.title') . ' - ' . trans('dashboard.dashboard'))->withIncidentTemplates(IncidentTemplate::all()); }
/** * Shows the edit schedule maintenance form. * * @param \CachetHQ\Cachet\Models\Incident $schedule * * @return \Illuminate\View\View */ public function showEditSchedule(Incident $schedule) { $incidentTemplates = IncidentTemplate::all(); return View::make('dashboard.schedule.edit')->withPageTitle(trans('dashboard.schedule.edit.title') . ' - ' . trans('dashboard.dashboard'))->withIncidentTemplates($incidentTemplates)->withSchedule($schedule); }
/** * Shows the edit schedule maintenance form. * * @param \CachetHQ\Cachet\Models\Incident $schedule * * @return \Illuminate\View\View */ public function showEditSchedule(Incident $schedule) { $incidentTemplates = IncidentTemplate::all(); return View::make('dashboard.schedule.edit')->with(['incidentTemplates' => $incidentTemplates, 'schedule' => $schedule]); }
/** * Shows the edit schedule maintenance form. * * @param \CachetHQ\Cachet\Models\Incident $schedule * * @return \Illuminate\View\View */ public function showEditSchedule(Incident $schedule) { $incidentTemplates = IncidentTemplate::all(); return View::make('dashboard.schedule.edit')->withIncidentTemplates($incidentTemplates)->withSchedule($schedule); }
/** * Shows the incident templates. * * @return \Illuminate\View\View */ public function showTemplates() { return View::make('dashboard.incidents.templates.index')->with(['page_title' => trans('dashboard.incidents.templates.title') . ' - ' . trans('dashboard.dashboard'), 'incidentTemplates' => IncidentTemplate::all()]); }