Skip to content
Browse files

moduleresult.tt2: fix unclosed <img> and <br> tags (XHTML)

  • Loading branch information...
1 parent a42b3d9 commit c83982d6246111d9e386db16e38166a363d45405 @dolmen dolmen committed May 27, 2012
Showing with 8 additions and 8 deletions.
  1. +8 −8 templates/moduleresult.tt2
View
16 templates/moduleresult.tt2
@@ -10,14 +10,14 @@
<a title="[% module.name %]'s dependency tree" href="?module=[% module.name %];perl=[% perl %];os=[% os | uri %];pureperl=[% pureperl %]">[% module.name %]</a>
[% END %]
[% IF module.warning %]
- <br>
+ <br />
[% FOREACH x = [1 .. module.indent] %]&nbsp;&nbsp;&nbsp;&nbsp;[% END %]
<small>[% module.warning %]</small>
[% END %]
</nobr>
</td>
<td valign="top"><nobr>
- <a title="search.cpan.org" href=http://search.cpan.org/search?query=[% module.distname %]&mode=all><img src="static/search.png" width="20" height="20"></a>
+ <a title="search.cpan.org" href=http://search.cpan.org/search?query=[% module.distname %]&mode=all><img src="static/search.png" width="20" height="20" /></a>
[%- bugtracker = module.parsed_meta.resources.bugtracker.web ||
module.parsed_meta.resources.bugtracker
%]
@@ -28,15 +28,15 @@
http://rt.cpan.org/Public/Dist/Display.html?Name=[% module.distname %]
[%- END -%]
'><img src="static/bug.png" width="20" height="20"></a>
- <a title="Detailed test results" href="http://www.cpantesters.org/show/[% module.distname %].html"><img src="static/tick.png" width="20" height="20"></a>
+ <a title="Detailed test results" href="http://www.cpantesters.org/show/[% module.distname %].html"><img src="static/tick.png" width="20" height="20" /></a>
[% TRY %]
[% reversefile = 'db/reverse/' _ module.distname _ '-' _ module.version _ '.dd' %]
[% USE File(reversefile) %]
- <a title="is depended on by ..." href="depended-on-by.pl?dist=[% module.distname %]-[% module.version %]"><img src="static/depended.png" width="20" height="20"></a>
+ <a title="is depended on by ..." href="depended-on-by.pl?dist=[% module.distname %]-[% module.version %]"><img src="static/depended.png" width="20" height="20" /></a>
[% CATCH File %]
[% END %]
[% IF !module.textresult %]
- <a title="Results by OS and perl version" href="http://matrix.cpantesters.org/?dist=[% module.distname %]"><img alt="Results by OS and perl version" border="0" height="16" width="16" src="static/graph.png"></a>
+ <a title="Results by OS and perl version" href="http://matrix.cpantesters.org/?dist=[% module.distname %]"><img alt="Results by OS and perl version" border="0" height="16" width="16" src="static/graph.png" /></a>
[% END %]
</nobr>
</td>
@@ -49,13 +49,13 @@
total = module.pass + module.fail + module.na + module.unknown;
END %]
[% ELSIF module.textresult %]
- <img alt="[% module.textresult | html %]" src="static/grey.png" height="16" width="200">
+ <img alt="[% module.textresult | html %]" src="static/grey.png" height="16" width="200" />
[% ELSE %]
[% total = module.pass + module.fail + module.na + module.unknown %]
[% IF total == 0 %]
- <img alt="No results" src="static/grey.png" height="16" width="200">
+ <img alt="No results" src="static/grey.png" height="16" width="200" />
[% ELSE %]
- <img alt="[% module.pass %] PASS" src="static/green.png" height="16" width="[% module.pass * 200 / total %]"><img alt="[% module.unknown%] UNKNOWN" src="static/yellow.png" height="16" width="[% module.unknown * 200 / total %]"><img alt="[% module.fail %] FAIL" src="static/red.png" height="16" width="[% module.fail * 200 / total %]"><img alt="[% module.na %] NA" src="static/blue.png" height="16" width="[% module.na * 200 / total %]">
+ <img alt="[% module.pass %] PASS" src="static/green.png" height="16" width="[% module.pass * 200 / total %]" /><img alt="[% module.unknown%] UNKNOWN" src="static/yellow.png" height="16" width="[% module.unknown * 200 / total %]" /><img alt="[% module.fail %] FAIL" src="static/red.png" height="16" width="[% module.fail * 200 / total %]" /><img alt="[% module.na %] NA" src="static/blue.png" height="16" width="[% module.na * 200 / total %]" />
[% END %]
[% END %]
</td>

0 comments on commit c83982d

Please sign in to comment.
Something went wrong with that request. Please try again.