feat(plugins): made it possible to have relative plugin template urls

This commit is contained in:
Torkel Ödegaard
2016-02-09 18:17:32 +01:00
parent 9653f43466
commit 8784be9a14
24 changed files with 61 additions and 32 deletions

View File

@@ -8,7 +8,7 @@ import * as dateMath from 'app/core/utils/datemath';
import {QueryCtrl} from 'app/plugins/sdk';
class PrometheusQueryCtrl extends QueryCtrl {
static templateUrl = 'public/app/plugins/datasource/prometheus/partials/query.editor.html';
static templateUrl = 'partials/query.editor.html';
metric: any;
resolutions: any;