W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2005

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

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 27 Jul 2005 09:23:53 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Dxi8n-0003gW-Vr@lionel-hutz.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:49 GMT