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 2014/04/27 19:52:44 UTC
svn commit: r1590427 -
/openoffice/ooo-site/trunk/content/download/test/index.html
Author: marcus
Date: Sun Apr 27 17:52:44 2014
New Revision: 1590427
URL: http://svn.apache.org/r1590427
Log:
Reworked the activation of a Beta release
Modified:
openoffice/ooo-site/trunk/content/download/test/index.html
Modified: openoffice/ooo-site/trunk/content/download/test/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/index.html?rev=1590427&r1=1590426&r2=1590427&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/index.html Sun Apr 27 17:52:44 2014
@@ -164,7 +164,7 @@ screen reader. -->
<!-- Yellow: Beta Release online -->
<script type="text/javascript">
<!--
- if ( BETA_ACTIVE ) {
+ if ( BETA_ACTIVE == 1 ) {
// Set a specific language ISO code to force to assemble a certain localized build as download URL
var NL_LANGUAGE = "";
// Get the download URL for Beta releases (>0 = beta mode)
@@ -242,7 +242,7 @@ screen reader. -->
+ "<b>Get all platforms, languages, language packs</b></a> | "
+ "<a href='all_beta.html#source' title='Get the source code and SDK to download'>Source code and SDK</a></p>"
+ "</div>" );
- } else {
+ } else if ( BETA_ACTIVE == 0 ) {
// Yellow: Beta Release coming soon
var ANN_LINK = "https://blogs.apache.org/OOo/";
var ANN_TITLE = "Official blog of Apache OpenOffice";
@@ -254,6 +254,8 @@ screen reader. -->
+ "The Beta release is not yet available. Please make sure to come back on the release date to download and test the "
+ "new version.</a></p>"
+ "</div>" );
+ } else {
+ // Yellow: Beta Release, show nothing as it is not yet ready
}
//-->
</script>