- From: Mercurial notifier <nobody@w3.org>
- Date: Tue, 14 Sep 2010 17:16:59 +0000
- To: Unicorn Updates <www-validator-cvs@w3.org>
changeset: 1488:f3ac8ba78549 user: Thomas Gambet <tgambet@w3.org> date: Tue Sep 14 13:12:36 2010 -0400 files: WebContent/WEB-INF/resources/templates/includes/footer.vm description: ~ check that $languages is defined before displaying the language list diff -r 844d2d8632a9 -r f3ac8ba78549 WebContent/WEB-INF/resources/templates/includes/footer.vm --- a/WebContent/WEB-INF/resources/templates/includes/footer.vm Tue Sep 14 13:01:05 2010 -0400 +++ b/WebContent/WEB-INF/resources/templates/includes/footer.vm Tue Sep 14 13:12:36 2010 -0400 @@ -5,7 +5,7 @@ <li><a href="${baseUri}translations" hreflang="en" title="$translations_title">$translations</a></li> </ul> -#if ($languages.size() > 1) +#if ($languages && $languages.size() > 1) <form action="$!{language_action}" method="get" id="lang_choice"> <fieldset> #foreach( $key in $requestParameters.keySet() )
Received on Tuesday, 14 September 2010 17:17:01 UTC