Fix 'Error loading tab: 0 error' with uBlock Origin
/metrics-tab matches a rule in one of uBlock Origin's default blocklists, so let's name it something else.
This commit is contained in:
parent
9bb3e30a46
commit
66375fd2d9
|
@ -144,7 +144,7 @@ sub overview : Chained('job') PathPart('') Args(0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sub metrics_tab : Chained('job') PathPart('metrics-tab') Args(0) {
|
sub metrics_tab : Chained('job') PathPart('metric-tab') Args(0) {
|
||||||
my ($self, $c) = @_;
|
my ($self, $c) = @_;
|
||||||
$c->stash->{template} = 'job-metrics-tab.tt';
|
$c->stash->{template} = 'job-metrics-tab.tt';
|
||||||
$c->stash->{metrics} = [ $c->stash->{jobset}->buildmetrics->search(
|
$c->stash->{metrics} = [ $c->stash->{jobset}->buildmetrics->search(
|
||||||
|
|
|
@ -84,7 +84,7 @@ removed or had an evaluation error.</div>
|
||||||
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% INCLUDE makeLazyTab tabName="tabs-charts" uri=c.uri_for('/job' project.name jobset.name job 'metrics-tab') %]
|
[% INCLUDE makeLazyTab tabName="tabs-charts" uri=c.uri_for('/job' project.name jobset.name job 'metric-tab') %]
|
||||||
|
|
||||||
<div id="tabs-links" class="tab-pane">
|
<div id="tabs-links" class="tab-pane">
|
||||||
<ul>
|
<ul>
|
||||||
|
|
Loading…
Reference in a new issue