W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2009

2006/unicorn/WebContent/WEB-INF/resources/templates language.vm,1.1,1.2

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 05 Oct 2009 10:50:31 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mul9D-0001vf-Dx@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv7401/WebContent/WEB-INF/resources/templates

Modified Files:
	language.vm 
Log Message:
updated

Index: language.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/language.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- language.vm	2 Oct 2009 16:53:14 -0000	1.1
+++ language.vm	5 Oct 2009 10:50:29 -0000	1.2
@@ -2,25 +2,31 @@
 #set ($css = ['base_ucn.css'])
 #parse('head.vm')
 
-<table>
-	<thead>
-		<tr>
-			<th scope="col">Property</th>
-			#foreach($prop in $languageProps)
-			<th scope="col">$prop.get("language")</th>
-			#end
-		</tr>
-	</thead>
-	<tbody>
-		#foreach($key in $defaultProps.keySet())
+<div id="translations">
+	<table>
+		<thead>
 			<tr>
-				<th scope="row">$key <p>$esc.html($defaultProps.get($key))</p></th>
+				<th scope="col">Property</th>
 				#foreach($prop in $languageProps)
-				<td title="$esc.html($!prop.get($key))">#if($prop.get($key))true#{else}false#end</td>
+				<th scope="col">$prop.get("language")</th>
 				#end
 			</tr>
-		#end
-	</tbody>
-</table>
+		</thead>
+		<tbody>
+			#foreach($key in $defaultProps.keySet())
+				<tr>
+					<th class="property_name" scope="row">$key <p>$esc.html($defaultProps.get($key))</p></th>
+					#foreach($prop in $languageProps)
+						#if($prop.get($key))
+						<td class="ok" title="$!esc.html($prop.get($key))">✔</td>
+						#{else}
+						<td class="missing" title="$!esc.html($prop.get($key))">✘</td>
+						#end
+					#end
+				</tr>
+			#end
+		</tbody>
+	</table>
+</div>
 
 #parse('footer.vm')
\ No newline at end of file
Received on Monday, 5 October 2009 10:50:32 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:39 UTC