- From: Mercurial notifier <nobody@w3.org>
- Date: Sun, 19 Sep 2010 01:57:35 +0000
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1500:d498b306eb1e tag: tip user: Thomas Gambet <tgambet@w3.org> date: Sat Sep 18 21:51:26 2010 -0400 files: WebContent/WEB-INF/resources/templates/index.vm WebContent/WEB-INF/resources/templates/language.form.vm WebContent/WEB-INF/resources/templates/language.vm WebContent/WEB-INF/resources/templates/xhtml10.vm description: ~ fixed empty div#messages element when no messages to display diff -r 3a31f319c56d -r d498b306eb1e WebContent/WEB-INF/resources/templates/index.vm --- a/WebContent/WEB-INF/resources/templates/index.vm Fri Sep 17 17:22:49 2010 -0400 +++ b/WebContent/WEB-INF/resources/templates/index.vm Sat Sep 18 21:51:26 2010 -0400 @@ -3,7 +3,7 @@ #set ($js = ['mootools-1.2.4-core-more-yc.js', 'w3c_unicorn_index.js']) #parse('head.vm') -#if ($messages) +#if ($messages && $messages.size() > 0) #displayMessages($messages) #end <div id="frontforms"> diff -r 3a31f319c56d -r d498b306eb1e WebContent/WEB-INF/resources/templates/language.form.vm --- a/WebContent/WEB-INF/resources/templates/language.form.vm Fri Sep 17 17:22:49 2010 -0400 +++ b/WebContent/WEB-INF/resources/templates/language.form.vm Sat Sep 18 21:51:26 2010 -0400 @@ -3,7 +3,7 @@ #set ($js = ['mootools-1.2.4-core-more-yc.js', 'w3c_unicorn_languages.js']) #parse('head.vm') -#if ($messages) +#if ($messages && $messages.size() > 0) #displayMessages($messages) #end diff -r 3a31f319c56d -r d498b306eb1e WebContent/WEB-INF/resources/templates/language.vm --- a/WebContent/WEB-INF/resources/templates/language.vm Fri Sep 17 17:22:49 2010 -0400 +++ b/WebContent/WEB-INF/resources/templates/language.vm Sat Sep 18 21:51:26 2010 -0400 @@ -3,7 +3,7 @@ #set ($js = ['mootools-1.2.4-core-more-yc.js', 'w3c_unicorn_languages.js']) #parse('head.vm') -#if ($messages) +#if ($messages && $messages.size() > 0) #displayMessages($messages) #end diff -r 3a31f319c56d -r d498b306eb1e WebContent/WEB-INF/resources/templates/xhtml10.vm --- a/WebContent/WEB-INF/resources/templates/xhtml10.vm Fri Sep 17 17:22:49 2010 -0400 +++ b/WebContent/WEB-INF/resources/templates/xhtml10.vm Sat Sep 18 21:51:26 2010 -0400 @@ -12,7 +12,7 @@ #set($observationList = $unicorncall.ObservationList) -#if ($messages.size() > 0) +#if ($messages && $messages.size() > 0) #displayMessages($messages) #end <div id="don_program">
Received on Sunday, 19 September 2010 01:57:36 UTC