summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-11-19 09:16:24 +0100
committerbbaetz%student.usyd.edu.au <>2002-11-19 09:16:24 +0100
commit880bfcebabf4e079e30f8cb1c9ddb03e2ab366e0 (patch)
tree135db142a871c237fbd039f6f7fcf1665363f5b5 /template/en/default/reports
parentea9345d65c7e2770cad1f5890ad6a99b1acc4022 (diff)
downloadbugzilla-880bfcebabf4e079e30f8cb1c9ddb03e2ab366e0.tar.gz
bugzilla-880bfcebabf4e079e30f8cb1c9ddb03e2ab366e0.tar.xz
Bug 175579 - make templates html compliant
r=gerv, a=justdave
Diffstat (limited to 'template/en/default/reports')
-rw-r--r--template/en/default/reports/report-table.html.tmpl2
-rw-r--r--template/en/default/reports/report.html.tmpl25
2 files changed, 15 insertions, 12 deletions
diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl
index e984dc6ae..175479d84 100644
--- a/template/en/default/reports/report-table.html.tmpl
+++ b/template/en/default/reports/report-table.html.tmpl
@@ -154,7 +154,7 @@
</td>
</tr>
</table>
-
+
</td>
</tr>
diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl
index c4a3edd56..07d926a64 100644
--- a/template/en/default/reports/report.html.tmpl
+++ b/template/en/default/reports/report.html.tmpl
@@ -95,7 +95,8 @@
[% END %]width=[% width %]&amp;height=[% height %]
[% END %]
- <img src="[% imageurl %]" width="[% width %]" height="[% height %]">
+ <img alt="Graphical report results" src="[% imageurl %]"
+ width="[% width %]" height="[% height %]">
[% END %]
<br>
[% END %]
@@ -113,12 +114,12 @@
[% FOREACH other_format = formats %]
[% NEXT IF other_format.name == "pie" AND row_field %]
[% UNLESS other_format.name == format %]
- <a href="[% formaturl %]&format=[% other_format.name %]">
+ <a href="[% formaturl %]&amp;format=[% other_format.name %]">
[% END %]
[% other_format.description %]
[% "</a>" UNLESS other_format.name == format %] |
[% END %]
- <a href="[% formaturl %]&ctype=csv">CSV</a>
+ <a href="[% formaturl %]&amp;ctype=csv">CSV</a>
</td>
[% IF format != "table" %]
@@ -126,15 +127,15 @@
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
- [% sizeurl = "report.cgi?$switchbase&action=wrap&format=$format" %]
+ [% sizeurl = "report.cgi?$switchbase&amp;action=wrap&amp;format=$format" %]
<td align="center">
- <a href="[% sizeurl %]&width=[% width %]&height=
+ <a href="[% sizeurl %]&amp;width=[% width %]&amp;height=
[% height + 100 %]">Taller</a><br>
- <a href="[% sizeurl %]&width=[% width - 100 %]&height=
+ <a href="[% sizeurl %]&amp;width=[% width - 100 %]&amp;height=
[% height %]">Thinner</a> *
- <a href="[% sizeurl %]&width=[% width + 100 %]&height=
+ <a href="[% sizeurl %]&amp;width=[% width + 100 %]&amp;height=
[% height %]">Fatter</a>&nbsp;&nbsp;&nbsp;&nbsp;<br>
- <a href="[% sizeurl %]&width=[% width %]&height=
+ <a href="[% sizeurl %]&amp;width=[% width %]&amp;height=
[% height - 100 %]">Shorter</a><br>
</td>
[% END %]
@@ -143,11 +144,13 @@
<p>
[% IF format == "table" %]
- <a href="query.cgi?[% switchbase %]&format=report-table">Edit
+ <a href="query.cgi?[% switchbase %]&amp;format=report-table">Edit
this report</a>
[% ELSE %]
- <a href="query.cgi?[% switchbase %]&format=report-graph&chart_format=
- [% format %]&cumulate=[% cumulate %]">Edit this report</a>
+ <a href="query.cgi?[% switchbase %]&amp;format=report-graph&amp;
+ chart_format=[% format %]&amp;cumulate=[% cumulate %]">
+ Edit this report
+ </a>
[% END %]
</p>