mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-25 12:13:33 +01:00
Make the sidebar link take us to the incident template page
This commit is contained in:
parent
660a2d041a
commit
5731adfb89
@ -16,7 +16,7 @@ Route::group(['before' => 'auth', 'prefix' => 'dashboard'], function() {
|
|||||||
Route::get('incidents', ['as' => 'dashboard.incidents', 'uses' => 'DashIncidentController@showIncidents']);
|
Route::get('incidents', ['as' => 'dashboard.incidents', 'uses' => 'DashIncidentController@showIncidents']);
|
||||||
Route::get('incidents/add', ['as' => 'dashboard.incidents.add', 'uses' => 'DashIncidentController@showAddIncident']);
|
Route::get('incidents/add', ['as' => 'dashboard.incidents.add', 'uses' => 'DashIncidentController@showAddIncident']);
|
||||||
Route::post('incidents/add', 'DashIncidentController@createIncidentAction');
|
Route::post('incidents/add', 'DashIncidentController@createIncidentAction');
|
||||||
Route::get('incidents/template', ['as' => 'dashboard.incident-template', 'uses' => 'DashIncidentController@showAddIncidentTemplate']);
|
Route::get('incidents/template', ['as' => 'dashboard.incidents.template', 'uses' => 'DashIncidentController@showAddIncidentTemplate']);
|
||||||
Route::post('incidents/template', 'DashIncidentController@createIncidentTemplateAction');
|
Route::post('incidents/template', 'DashIncidentController@createIncidentTemplateAction');
|
||||||
|
|
||||||
// Metrics
|
// Metrics
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
<i class="fa fa-plus"></i> {{ Lang::get('cachet.dashboard.incident-add') }}
|
<i class="fa fa-plus"></i> {{ Lang::get('cachet.dashboard.incident-add') }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="sub-nav-item">
|
<li class="{{ Request::is('dashboard/incidents/template') ? 'active' : '' }} sub-nav-item">
|
||||||
<a href="#">
|
<a href="{{ URL::route('dashboard.incidents.template') }}">
|
||||||
<i class="fa fa-plus"></i> {{ Lang::get('cachet.dashboard.incident-create-template') }}
|
<i class="fa fa-plus"></i> {{ Lang::get('cachet.dashboard.incident-create-template') }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user