示例#1
0
 /**
  * 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());
 }
示例#2
0
 /**
  * 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);
 }
示例#3
0
 /**
  * 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]);
 }
示例#4
0
 /**
  * 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()]);
 }