- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 23 May 2005 05:51:08 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv28759/share/templates/en_US
Modified Files:
error_loop.tmpl
Log Message:
only output error loop's <ol></ol> if list not empty
Index: error_loop.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/error_loop.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- error_loop.tmpl 16 May 2005 08:41:45 -0000 1.1
+++ error_loop.tmpl 23 May 2005 05:51:06 -0000 1.2
@@ -1,4 +1,4 @@
-<ol>
+<TMPL_IF NAME="has_errors"><ol></TMPL_IF>
<TMPL_IF NAME="opt_show_source">
<TMPL_LOOP NAME="file_errors">
<li<TMPL_IF NAME="class"> class="<TMPL_VAR NAME="class">"</TMPL_IF>>
@@ -19,7 +19,7 @@
<span class="msg"><TMPL_VAR NAME="msg" ESCAPE="HTML"></span><TMPL_IF NAME="uri">(<a href="<TMPL_VAR NAME="uri" ESCAPE="HTML">">explain...</a>)</TMPL_IF>.<pre><code class="input"><TMPL_VAR NAME="src"></code></pre><TMPL_IF NAME="expl"><TMPL_VAR NAME="expl"></TMPL_IF> </li>
</TMPL_LOOP>
</TMPL_IF>
-</ol>
+<TMPL_IF NAME="has_errors"></ol></TMPL_IF>
<TMPL_IF NAME="opt_verbose">
<script type="text/javascript" src="loadexplanation.js"></script>
Received on Monday, 23 May 2005 05:51:10 UTC