unicorn commit: updated language table

changeset:   1299:cdbab1b5d1fd
parent:      1296:0033e9c35ba5
user:        Thomas Gambet <tgambet@w3.org>
date:        Thu Jun 24 10:38:44 2010 -0400
files:       WebContent/WEB-INF/resources/templates/language.vm WebContent/scripts/w3c_unicorn_languages.js WebContent/style/base_ucn.css
description:
updated language table


diff -r 0033e9c35ba5 -r cdbab1b5d1fd WebContent/WEB-INF/resources/templates/language.vm
--- a/WebContent/WEB-INF/resources/templates/language.vm	Thu Jun 24 13:12:01 2010 +0200
+++ b/WebContent/WEB-INF/resources/templates/language.vm	Thu Jun 24 10:38:44 2010 -0400
@@ -70,7 +70,7 @@
 		<tbody>
 			#foreach($key in $defaultProps.keySet())
 				<tr>
-					<th class="property_name" scope="row">$key <p>$esc.xml($defaultProps.get($key))</p></th>
+					<th class="property_name" scope="row" title="$esc.xml($defaultProps.get($key))">$key <!--<p>$esc.xml($defaultProps.get($key))</p>--></th>
 					#foreach($locale in $uiLocales)
 					#if ($locale != $defaultLocale)
 						#set($localeKey = $locale.getName())
@@ -86,7 +86,7 @@
 			#end
 			#foreach($key in $defaultMetadata.keySet())
 				<tr>
-					<th class="property_name" scope="row">$key <p>$esc.xml($defaultMetadata.get($key))</p></th>
+					<th class="property_name" scope="row" title="$esc.xml($defaultMetadata.get($key))">$key <!--<p>$esc.xml($defaultMetadata.get($key))</p>--></th>
 					#foreach($locale in $uiLocales)
 					#if ($locale != $defaultLocale)
 						#set($localeKey = $locale.getName())
diff -r 0033e9c35ba5 -r cdbab1b5d1fd WebContent/scripts/w3c_unicorn_languages.js
--- a/WebContent/scripts/w3c_unicorn_languages.js	Thu Jun 24 13:12:01 2010 +0200
+++ b/WebContent/scripts/w3c_unicorn_languages.js	Thu Jun 24 10:38:44 2010 -0400
@@ -65,7 +65,13 @@
 				element.store('tip:text', span.title);
 				span.removeProperty('title');
 			});
+			var th = $$('#translations th.property_name');
+			th.each(function(element) {
+				element.store('tip:text', element.title);
+				element.removeProperty('title');
+			});
 			new Tips(td);
+			new Tips(th);
 		}
 		
 	},
diff -r 0033e9c35ba5 -r cdbab1b5d1fd WebContent/style/base_ucn.css
--- a/WebContent/style/base_ucn.css	Thu Jun 24 13:12:01 2010 +0200
+++ b/WebContent/style/base_ucn.css	Thu Jun 24 10:38:44 2010 -0400
@@ -736,14 +736,10 @@
 	border-right:1px solid #CCCCCC;
 	background-color:#EEEEEE;
 	text-align:center;
-	font-weight:bold;
 }
 #translations thead th {
 	background-color:#E1E1E1;
 	font-size:1em;
-}
-#translations th.property_name {
-	padding:0.2em 0 0 !important;
 }
 #translations th p {
 	text-align:left;

Received on Thursday, 24 June 2010 15:26:56 UTC