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

2006/unicorn/WebContent/WEB-INF/resources/templates language.vm,1.11,1.12 language.form.vm,1.2,1.3

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 07 Oct 2009 15:53:33 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MvYpZ-0002G4-DE@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv8663/WebContent/WEB-INF/resources/templates

Modified Files:
	language.vm language.form.vm 
Log Message:
up

Index: language.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/language.vm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- language.vm	7 Oct 2009 15:01:03 -0000	1.11
+++ language.vm	7 Oct 2009 15:53:31 -0000	1.12
@@ -35,7 +35,7 @@
 			<tr>
 				<th scope="col">Property</th>
 			#foreach($prop in $languageProps)
-				#set($percent = 100 * $math.div($math.sub($prop.size(), 1), $math.sub($defaultProps.size(), 1)))
+				#set($percent = 100 * $math.div($math.sub($prop.size(), 2), $math.sub($defaultProps.size(), 2)))
 				<th scope="col">$prop.get("language")<br />$percent.intValue()%</th>
 			#end
 			</tr>

Index: language.form.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/language.form.vm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- language.form.vm	7 Oct 2009 15:01:04 -0000	1.2
+++ language.form.vm	7 Oct 2009 15:53:31 -0000	1.3
@@ -25,7 +25,7 @@
 				<thead>
 					<tr>
 						<th scope="col" style="width:33%">$defaultProps.get("language") properties</th>
-						#set($percent = 100 * $math.div($math.sub($prop.size(), 1), $math.sub($defaultProps.size(), 1)))
+						#set($percent = 100 * $math.div($math.sub($prop.size(), 2), $math.sub($defaultProps.size(), 2)))
 						<th scope="col">$prop.get("language") $percent.intValue()%</th>
 					</tr>
 				</thead>
Received on Wednesday, 7 October 2009 15:53:37 UTC

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