validator/share/templates/en_US table.tmpl,1.16,1.17

Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv13877/share/templates/en_US

Modified Files:
	table.tmpl 
Log Message:
Bringing back number of errors to the results (not counting warnings and other messages), 
and adding info on outcome (pass/fail) at very top of results page.

See also:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1810
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1816




Index: table.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/table.tmpl,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- table.tmpl	31 Mar 2005 04:33:37 -0000	1.16
+++ table.tmpl	27 Jul 2005 09:23:51 -0000	1.17
@@ -2,6 +2,21 @@
 <form id="form" method="get" action="check">
   <table class="header">
     <tr>
+    <th>Result:</th>
+    <TMPL_IF NAME="VALID">
+    <td colspan="2" class="valid">
+      <TMPL_IF NAME="is_tentative">
+        Tentatively passed validation
+      <TMPL_ELSE>
+        Passed validation
+      </TMPL_IF>
+    <TMPL_ELSE>
+    <td colspan="2" class="invalid">
+      Failed validation, <TMPL_VAR NAME="number_of_errors" ESCAPE="HTML">
+    </TMPL_IF>
+    </td>
+    </tr>
+    <tr>
 <TMPL_IF NAME="is_upload">
       <th>File:</th><td colspan="2"><TMPL_VAR NAME="file_uri" ESCAPE="HTML"></td>
 <TMPL_ELSE>

Received on Wednesday, 27 July 2005 09:23:56 UTC