Renamed Scheduled Maintenance to just Maintenance. Closes #2516
This commit is contained in:
@@ -54,7 +54,7 @@ class ScheduleController extends Controller
|
|||||||
{
|
{
|
||||||
$schedule = Schedule::orderBy('created_at')->get();
|
$schedule = Schedule::orderBy('created_at')->get();
|
||||||
|
|
||||||
return View::make('dashboard.schedule.index')
|
return View::make('dashboard.maintenance.index')
|
||||||
->withPageTitle(trans('dashboard.schedule.schedule').' - '.trans('dashboard.dashboard'))
|
->withPageTitle(trans('dashboard.schedule.schedule').' - '.trans('dashboard.dashboard'))
|
||||||
->withSchedule($schedule);
|
->withSchedule($schedule);
|
||||||
}
|
}
|
||||||
@@ -68,7 +68,7 @@ class ScheduleController extends Controller
|
|||||||
{
|
{
|
||||||
$incidentTemplates = IncidentTemplate::all();
|
$incidentTemplates = IncidentTemplate::all();
|
||||||
|
|
||||||
return View::make('dashboard.schedule.add')
|
return View::make('dashboard.maintenance.add')
|
||||||
->withPageTitle(trans('dashboard.schedule.add.title').' - '.trans('dashboard.dashboard'))
|
->withPageTitle(trans('dashboard.schedule.add.title').' - '.trans('dashboard.dashboard'))
|
||||||
->withIncidentTemplates($incidentTemplates);
|
->withIncidentTemplates($incidentTemplates);
|
||||||
}
|
}
|
||||||
@@ -111,7 +111,7 @@ class ScheduleController extends Controller
|
|||||||
{
|
{
|
||||||
$incidentTemplates = IncidentTemplate::all();
|
$incidentTemplates = IncidentTemplate::all();
|
||||||
|
|
||||||
return View::make('dashboard.schedule.edit')
|
return View::make('dashboard.maintenance.edit')
|
||||||
->withPageTitle(trans('dashboard.schedule.edit.title').' - '.trans('dashboard.dashboard'))
|
->withPageTitle(trans('dashboard.schedule.edit.title').' - '.trans('dashboard.dashboard'))
|
||||||
->withIncidentTemplates($incidentTemplates)
|
->withIncidentTemplates($incidentTemplates)
|
||||||
->withSchedule($schedule);
|
->withSchedule($schedule);
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ return [
|
|||||||
'none' => 'No incidents reported',
|
'none' => 'No incidents reported',
|
||||||
'past' => 'Past Incidents',
|
'past' => 'Past Incidents',
|
||||||
'stickied' => 'Stickied Incidents',
|
'stickied' => 'Stickied Incidents',
|
||||||
'scheduled' => 'Scheduled Maintenance',
|
'scheduled' => 'Maintenance',
|
||||||
'scheduled_at' => ', scheduled :timestamp',
|
'scheduled_at' => ', scheduled :timestamp',
|
||||||
'posted' => 'Posted :timestamp',
|
'posted' => 'Posted :timestamp',
|
||||||
'status' => [
|
'status' => [
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ return [
|
|||||||
|
|
||||||
// Incidents
|
// Incidents
|
||||||
'incidents' => [
|
'incidents' => [
|
||||||
'title' => 'Incidents & Schedule',
|
'title' => 'Incidents & Maintenance',
|
||||||
'incidents' => 'Incidents',
|
'incidents' => 'Incidents',
|
||||||
'logged' => '{0} There are no incidents, good work.|[1] You have logged one incident.|[2, Inf] You have reported <strong>:count</strong> incidents.',
|
'logged' => '{0} There are no incidents, good work.|[1] You have logged one incident.|[2, Inf] You have reported <strong>:count</strong> incidents.',
|
||||||
'incident-create-template' => 'Create Template',
|
'incident-create-template' => 'Create Template',
|
||||||
@@ -65,22 +65,22 @@ return [
|
|||||||
|
|
||||||
// Incident Maintenance
|
// Incident Maintenance
|
||||||
'schedule' => [
|
'schedule' => [
|
||||||
'schedule' => 'Scheduled Maintenance',
|
'schedule' => 'Maintenance',
|
||||||
'logged' => '{0} There are no schedules, good work.|You have logged one schedule.|You have reported <strong>:count</strong> schedules.',
|
'logged' => '{0} There has been no Maintenance, good work.|[1] You have logged one schedule.|[2,Inf] You have reported <strong>:count</strong> schedules.',
|
||||||
'scheduled_at' => 'Scheduled at :timestamp',
|
'scheduled_at' => 'Scheduled at :timestamp',
|
||||||
'add' => [
|
'add' => [
|
||||||
'title' => 'Add Scheduled Maintenance',
|
'title' => 'Add Maintenance',
|
||||||
'success' => 'Schedule added.',
|
'success' => 'Maintenance added.',
|
||||||
'failure' => 'Something went wrong adding the schedule, please try again.',
|
'failure' => 'Something went wrong adding the Maintenance, please try again.',
|
||||||
],
|
],
|
||||||
'edit' => [
|
'edit' => [
|
||||||
'title' => 'Edit Scheduled Maintenance',
|
'title' => 'Edit Maintenance',
|
||||||
'success' => 'Schedule has been updated!',
|
'success' => 'Maintenance has been updated!',
|
||||||
'failure' => 'Something went wrong editing the schedule, please try again.',
|
'failure' => 'Something went wrong editing the Maintenance, please try again.',
|
||||||
],
|
],
|
||||||
'delete' => [
|
'delete' => [
|
||||||
'success' => 'The scheduled maintenance has been deleted and will not show on your status page.',
|
'success' => 'The Maintenance has been deleted and will not show on your status page.',
|
||||||
'failure' => 'The scheduled maintenance could not be deleted, please try again.',
|
'failure' => 'The Maintenance could not be deleted, please try again.',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user