|
@@ -1,12 +1,10 @@
|
|
|
-import './history_srv';
|
|
|
|
|
-
|
|
|
|
|
import _ from 'lodash';
|
|
import _ from 'lodash';
|
|
|
import angular from 'angular';
|
|
import angular from 'angular';
|
|
|
import moment from 'moment';
|
|
import moment from 'moment';
|
|
|
|
|
|
|
|
import locationUtil from 'app/core/utils/location_util';
|
|
import locationUtil from 'app/core/utils/location_util';
|
|
|
-import { DashboardModel } from '../dashboard_model';
|
|
|
|
|
-import { HistoryListOpts, RevisionsModel, CalculateDiffOptions, HistorySrv } from './history_srv';
|
|
|
|
|
|
|
+import { DashboardModel } from '../../dashboard_model';
|
|
|
|
|
+import { HistoryListOpts, RevisionsModel, CalculateDiffOptions, HistorySrv } from './HistorySrv';
|
|
|
|
|
|
|
|
export class HistoryListCtrl {
|
|
export class HistoryListCtrl {
|
|
|
appending: boolean;
|
|
appending: boolean;
|
|
@@ -200,7 +198,7 @@ export class HistoryListCtrl {
|
|
|
export function dashboardHistoryDirective() {
|
|
export function dashboardHistoryDirective() {
|
|
|
return {
|
|
return {
|
|
|
restrict: 'E',
|
|
restrict: 'E',
|
|
|
- templateUrl: 'public/app/features/dashboard/history/history.html',
|
|
|
|
|
|
|
+ templateUrl: 'public/app/features/dashboard/components/VersionHistory/template.html',
|
|
|
controller: HistoryListCtrl,
|
|
controller: HistoryListCtrl,
|
|
|
bindToController: true,
|
|
bindToController: true,
|
|
|
controllerAs: 'ctrl',
|
|
controllerAs: 'ctrl',
|