Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Rename availability.html to url-availability.html to better describe …
Browse files Browse the repository at this point in the history
…its purpose (also url-alerts.html and url-response-time.html). Add partials folder non-standalone pages that get included (like url-alerts-view.html that gets included in url-alerts.html)
  • Loading branch information
mtho11 committed Sep 20, 2015
1 parent bab7eab commit b2d51d2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ <h3 class="pull-left">Alerts <span>({{(mac.alertList).length}})</span></h3>
<i class="fa fa-cog"></i>Availability Alert Settings</a>
</span>
</div>
<div ng-include="'plugins/metrics/html/alerts-view.html'"></div>
<div ng-include="'plugins/metrics/html/partials/url-alerts-view.html'"></div>
</section>
</div>
8 changes: 4 additions & 4 deletions console/src/main/scripts/plugins/metrics/ts/metricsPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module HawkularMetrics {
// this was for single page.. remove ?
when('/hawkular/:resourceId/:timeOffset?/:endTime?', {templateUrl: 'plugins/metrics/html/single-page.html'}).
when('/metrics/response-time', {
templateUrl: 'plugins/metrics/html/response-time.html',
templateUrl: 'plugins/metrics/html/url-response-time.html',
resolve: {
hkResourceList: function ($route, $filter, $location, $rootScope, $q, HawkularInventory) {
var idParts = $route.current.params.resourceId.split('~');
Expand All @@ -56,7 +56,7 @@ module HawkularMetrics {
}
}).when('/hawkular-ui/url/url-list', {templateUrl: 'plugins/metrics/html/url-list.html'}).
when('/hawkular-ui/url/response-time/:resourceId/:timeOffset?/:endTime?', {
templateUrl: 'plugins/metrics/html/response-time.html',
templateUrl: 'plugins/metrics/html/url-response-time.html',
reloadOnSearch: false,
resolve: {
resource: function ($route, $location, HawkularInventory, NotificationsService:INotificationsService) {
Expand All @@ -75,7 +75,7 @@ module HawkularMetrics {
}
}).
when('/hawkular-ui/url/availability/:resourceId/:timeOffset?/:endTime?', {
templateUrl: 'plugins/metrics/html/availability.html',
templateUrl: 'plugins/metrics/html/url-availability.html',
reloadOnSearch: false,
resolve: {
resource: function ($route, $location, HawkularInventory, NotificationsService:INotificationsService) {
Expand All @@ -94,7 +94,7 @@ module HawkularMetrics {
}
}).
when('/hawkular-ui/url/alerts/:resourceId/:timeOffset?/:endTime?', {
templateUrl: 'plugins/metrics/html/alerts.html',
templateUrl: 'plugins/metrics/html/url-alerts.html',
reloadOnSearch: false,
resolve: {
resource: function ($route, $location, HawkularInventory, NotificationsService:INotificationsService) {
Expand Down

0 comments on commit b2d51d2

Please sign in to comment.