Author: marcus
Date: Sun Jul 28 11:10:12 2013
New Revision: 1507781
URL: http://svn.apache.org/r1507781
Log:
Updated the wording to make it more clear when there is no release for a
specific language / platform that the script is linking to the alternative
webpage (mostly a L10N webpage)
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=1507781&r1=1507780&r2=1507781&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/index.html Sun Jul 28
11:10:12 2013
@@ -66,20 +66,21 @@
// OS and/or package manager was not recognized, therefore use
"other.html" as download link.
document.write( "<div class=\"first button green\" id=\"optionitem1\"
onclick=\"openItem('optionitem1','"
+ LINK + "');" + "return false;\">" );
- document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>Apache
OpenOffice " + VERSION
- + " is not available for:<br />" + UI_PLATFORM + "</a></h2>"
- + "<p><a href='" + LINK + "' title='" + LINK + "'>Please choose another
platform from the alternative download "
- + "webpage.</a></p>");
+ document.write( "<h2><a href='" + LINK + "' title='" + LINK + "'>"
+ + "Download Apache OpenOffice</a></h2>"
+ + "<p><a href='" + LINK + "' title='" + LINK + "'>Apache OpenOffice " +
VERSION + " for "
+ + "<b>" + UI_PLATFORM + "</b> is not available. Please choose another
platform build from the alternative download "
+ + "webpage.</a></p>" );
}
} else {
// Download from an alternative webpage if hasMirrorLink() == false.
document.write( "<div class=\"first button green\" id=\"optionitem1\"
onclick=\"openItem('optionitem1','"
+ LANG_ARRAY[ 3 ] + "');" + "return false;\">" );
document.write( "<h2><a href='" + LANG_ARRAY[ 4 ] + "' title='" +
LANG_ARRAY[ 4 ] + "'>"
- + "Download Apache OpenOffice " + VERSION + "</a></h2>"
- + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] + "'>A
release for "
- + "<b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not
available. Please choose another language from the "
- + "alternative download webpage.</a></p>" );
+ + "Download Apache OpenOffice</a></h2>"
+ + "<p><a href='" + LANG_ARRAY[ 4 ] + "' title='" + LANG_ARRAY[ 4 ] +
"'>Apache OpenOffice " + VERSION + " for "
+ + "<b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b> is not
available. Please choose another build from the "
+ + "alternative " + LANG_ARRAY[ 1 ] + " download webpage.</a></p>" );
}
document.write( "</div>" );