diff --git a/chart.cgi b/chart.cgi index d8f9ed7c75..0be4378aa0 100755 --- a/chart.cgi +++ b/chart.cgi @@ -69,7 +69,7 @@ if (grep(/^cmd-/, $cgi->param())) { my $action = $cgi->param('action'); my $series_id = $cgi->param('series_id'); -$vars->{'doc_section'} = 'reporting.html#charts'; +$vars->{'doc_section'} = 'using/reports-and-charts.html#charts'; # Because some actions are chosen by buttons, we can't encode them as the value # of the action param, because that value is localization-dependent. So, we diff --git a/report.cgi b/report.cgi index b8f2aa58ba..5c6ef9136f 100755 --- a/report.cgi +++ b/report.cgi @@ -291,7 +291,7 @@ if ($vars->{debug}) { } # All formats point to the same section of the documentation. -$vars->{'doc_section'} = 'reporting.html#reports'; +$vars->{'doc_section'} = 'using/reports-and-charts.html#reports'; disable_utf8() if ($format->{'ctype'} =~ /^image\//); diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 4679cadb30..f2aa2c40e2 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1015,12 +1015,12 @@ [% ELSIF error == "illegal_series_creation" %] [% admindocslinks = {'groups.html' => 'Group security'} %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You are not authorized to create series. [% ELSIF error == "illegal_series_edit" %] [% admindocslinks = {'groups.html' => 'Group security'} %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You are not authorized to edit this series. To do this, you must either be its creator, or an administrator. @@ -1037,7 +1037,7 @@ The error was: [% dberror FILTER html %]. [% ELSIF error == "insufficient_data_points" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] We don't have enough data points to make a graph (yet). [% ELSIF error == "invalid_attach_id" %] @@ -1366,17 +1366,17 @@ [% ELSIF error == "missing_datasets" %] [% title = "No Datasets Selected" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You must specify one or more datasets to plot. [% ELSIF error == "missing_frequency" %] [% title = "Missing Frequency" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You did not specify a valid frequency for this series. [% ELSIF error == "missing_name" %] [% title = "Missing Name" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You did not specify a name for this series. [% ELSIF error == "missing_query" %] @@ -1439,7 +1439,7 @@ [% ELSIF error == "no_axes_defined" %] [% title = "No Axes Defined" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You didn't define any axes to plot. [% ELSIF error == "no_bugs_chosen" %] @@ -1781,7 +1781,7 @@ [% ELSIF error == "series_already_exists" %] [% title = "Series Already Exists" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] A series named [% series.category FILTER html %] / [%+ series.subcategory FILTER html %] / [%+ series.name FILTER html %] diff --git a/template/en/default/reports/menu.html.tmpl b/template/en/default/reports/menu.html.tmpl index 8951d3a2bb..e5ce154849 100644 --- a/template/en/default/reports/menu.html.tmpl +++ b/template/en/default/reports/menu.html.tmpl @@ -27,7 +27,7 @@ [% PROCESS global/header.html.tmpl title = "Reporting and Charting Kitchen" - doc_section = "reporting.html" + doc_section = "using/reports-and-charts.html" %]
diff --git a/template/en/default/reports/old-charts.html.tmpl b/template/en/default/reports/old-charts.html.tmpl index 6adf595981..28213ad494 100644 --- a/template/en/default/reports/old-charts.html.tmpl +++ b/template/en/default/reports/old-charts.html.tmpl @@ -24,7 +24,7 @@ [% PROCESS global/header.html.tmpl title = "$terms.Bug Charts" h1 = "Welcome to the $terms.Bugzilla Charting Kitchen" - doc_section = "reporting.html#charts" + doc_section = "using/reports-and-charts.html#charts" %]