bergquist 9 лет назад
Родитель
Сommit
9da2e6e907

+ 1 - 1
public/app/core/routes/routes.ts

@@ -204,7 +204,7 @@ function setupAngularRoutes($routeProvider, $locationProvider) {
     controllerAs: 'ctrl',
     resolve: loadAlertsBundle,
   })
-  .when('/alerts/events/:alertId', {
+  .when('/alerts/:alertId/states', {
     templateUrl: 'public/app/features/alerts/partials/alert_log.html',
     controller: 'AlertLogCtrl',
     controllerAs: 'ctrl',

+ 2 - 2
public/app/features/alerts/partials/alerts_page.html

@@ -17,12 +17,12 @@
 		</thead>
 		<tr ng-repeat="alert in ctrl.alerts">
 			<td>
-				<a href="/alerts/events/{{alert.id}}">
+				<a href="/alerts/{{alert.id}}/states">
 					{{alert.title}}
 				</a>
 			</td>
 			<td class="text-center">
-				<a href="/alerts/events/{{alert.id}}">
+				<a href="/alerts/{{alert.id}}/states">
 					<i class="icon-gf {{alert.iconCss}}"></i>
 				</a>
 			</td>