You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2012/08/26 23:54:02 UTC

svn commit: r1377528 - /incubator/ooo/ooo-site/trunk/content/download/test/print_tables_aoo.js

Author: marcus
Date: Sun Aug 26 21:54:02 2012
New Revision: 1377528

URL: http://svn.apache.org/viewvc?rev=1377528&view=rev
Log:
Deleted every second language strings and expanded the row highlighting to make the language rows look more connected

Modified:
    incubator/ooo/ooo-site/trunk/content/download/test/print_tables_aoo.js

Modified: incubator/ooo/ooo-site/trunk/content/download/test/print_tables_aoo.js
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/test/print_tables_aoo.js?rev=1377528&r1=1377527&r2=1377528&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/test/print_tables_aoo.js (original)
+++ incubator/ooo/ooo-site/trunk/content/download/test/print_tables_aoo.js Sun Aug 26 21:54:02 2012
@@ -187,24 +187,26 @@ function write_header( FIRST_HEADER ) {
  * This writes the build rows (full install, langpack, SDK)
  */
 function write_build( URL_AOO, URL_HASH, PLATFORM, INSTALL_LANG, i, k, BUILD, AOO, TYPE ) {
-	if ( ROW_COUNT ==  1 || ROW_COUNT ==  3 || ROW_COUNT ==  5 || ROW_COUNT ==  7 || ROW_COUNT ==  9 ||
-	     ROW_COUNT == 11 || ROW_COUNT == 13 || ROW_COUNT == 15 || ROW_COUNT == 17 || ROW_COUNT == 19 )
+//	if ( ROW_COUNT ==  1 || ROW_COUNT ==  3 || ROW_COUNT ==  5 || ROW_COUNT ==  7 || ROW_COUNT ==  9 ||
+//	     ROW_COUNT == 11 || ROW_COUNT == 13 || ROW_COUNT == 15 || ROW_COUNT == 17 || ROW_COUNT == 19 )
+	if ( ROW_COUNT ==  1 || ROW_COUNT ==  2 || ROW_COUNT ==  5 || ROW_COUNT == 6  || ROW_COUNT == 9 ||
+	     ROW_COUNT == 10 || ROW_COUNT == 13 || ROW_COUNT == 14 || ROW_COUNT == 17 || ROW_COUNT == 18 )
 		document.write( "<tr class='a'>" );
 	else
 		document.write( "<tr class='b'>" );
 
 // Debug: uncomment to get output inside the table
-	if ( URL_AOO.indexOf( "SDK" ) > -1 ) {
-		document.write( "<td><small>" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td id='sdk'><small>SDK</small></td>" );
-//		document.write( "<td><small>" + ROW_COUNT + "&nbsp;:&nbsp;" + FULL_LANG_COUNT + "&nbsp;:&nbsp;" + i + "&nbsp;:&nbsp;" + k + "&nbsp;" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td><small>SDK</small></td>" );
-	} else {
+	if ( URL_AOO.indexOf( "SDK" ) < 0 ) {
 		if ( TYPE == "install" ) {
 			document.write( "<td><small>" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td><small>Full&nbsp;Install</small></td>" );
 //			document.write( "<td><small>" + ROW_COUNT + "&nbsp;:&nbsp;" + FULL_LANG_COUNT + "&nbsp;:&nbsp;" + i + "&nbsp;:&nbsp;" + k + "&nbsp;" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td><small>Full&nbsp;Install</small></td>" );
 		} else {
-			document.write( "<td><small>" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td><small>Langpack</small></td>" );
+			document.write( "<td>                                        </td><td>                                            </td><td><small>Langpack</small></td>" );
 //			document.write( "<td><small>" + ROW_COUNT + "&nbsp;:&nbsp;" + LP_LANG_COUNT + "&nbsp;:&nbsp;" + i + "&nbsp;:&nbsp;" + k + "&nbsp;" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td><small>Langpack</small></td>" );
 		}
+	} else {
+		document.write( "<td><small>" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td id='sdk'><small>SDK</small></td>" );
+//		document.write( "<td><small>" + ROW_COUNT + "&nbsp;:&nbsp;" + FULL_LANG_COUNT + "&nbsp;:&nbsp;" + i + "&nbsp;:&nbsp;" + k + "&nbsp;" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td><small>SDK</small></td>" );
 	}
 
 	if ( INSTALL_LANG[ k ] != "en-US" ) {