- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 05 Oct 2009 14:26:23 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes In directory hutz:/tmp/cvs-serv15215/WebContent/WEB-INF/resources/templates/includes Modified Files: macros_index.vm Log Message: int comparison for the messages level Index: macros_index.vm =================================================================== RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/includes/macros_index.vm,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- macros_index.vm 2 Oct 2009 09:54:17 -0000 1.12 +++ macros_index.vm 5 Oct 2009 14:26:21 -0000 1.13 @@ -17,7 +17,7 @@ #macro(displayMessages $messages) <div id="messages"> #foreach ($message in $messages) - #if ($message.Level == "ERROR") + #if ($message.Level == 2) <div class="error"> <h4>#evaluate($message.Message)</h4> #if ($message.Content) @@ -27,7 +27,7 @@ #end #end #foreach ($message in $messages) - #if ($message.Level == "WARNING") + #if ($message.Level == 1) <div class="warning"> <h4>#evaluate($message.Message)</h4> #if ($message.Content) @@ -37,7 +37,7 @@ #end #end #foreach ($message in $messages) - #if ($message.Level == "INFO") + #if ($message.Level == 0) <div class="info"> <h4>#evaluate($message.Message)</h4> #if ($message.Content)
Received on Monday, 5 October 2009 14:26:27 UTC