You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by as...@apache.org on 2015/01/20 00:25:08 UTC

svn commit: r1653156 - /openoffice/ooo-site/trunk/content/lt/index.html

Author: astepukonis
Date: Mon Jan 19 23:25:07 2015
New Revision: 1653156

URL: http://svn.apache.org/r1653156
Log:
Added syntax from the global page to synchronize appearance..

Modified:
    openoffice/ooo-site/trunk/content/lt/index.html

Modified: openoffice/ooo-site/trunk/content/lt/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/lt/index.html?rev=1653156&r1=1653155&r2=1653156&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/lt/index.html (original)
+++ openoffice/ooo-site/trunk/content/lt/index.html Mon Jan 19 23:25:07 2015
@@ -45,14 +45,43 @@
     <li>
       <hr />
     </li>
-    <li>
-      <div class="action-download">
-        <div class="action-text action-link">
-          <h2><a href="/lt/download/">Gauti „Apache OpenOffice“</a></h2>
-			<p><a href="/lt/download/">Gauti „Apache OpenOffice“ nemokamai, pasirinkus operacinę sistemą, kalbą ir laidą.</a></p>
+
+    <!-- Show the download link with currently available version number, loaded via JavaScript -->
+    <script type="text/javascript">
+    <!--
+    document.write( "<li>"
+      + "<div class='action-download'>"
+        + "<div class='action-text action-link'>"
+          + "<a href='downloads/index.html'>"
+            + "<h2>Gauti „Apache OpenOffice“</h2>"
+            + "<p style='font-size: 1.0em; font-weight: bold;'>(Naujausia laida: " + DL.VERSION + ")</p>"
+            + "<p>Gauti „Apache OpenOffice“ <b>nemokamai(!)</b> | "
+              + "<a href='https://blogs.apache.org/OOo/entry/with_apache_openoffice_you_get'"
+                + "title='Tinklaraštis: Su „Apache OpenOffice“ gaunama viskas, nemokant nieko!' target='_blank'>"
+                + "Išsamiau skaityti tarnybiniame tinklaraštyje"
+              + "</a>."
+            + "</p>"
+          + "</a>"
+        + "</div>"
+      + "</div>"
+    + "</li>" );
+    //-->
+    </script>
+
+    <!-- Show the download link, without version number -->
+    <noscript>
+      <li>
+        <div class="action-download">
+          <div class="action-text action-link">
+            <a href="downloads/index.html">
+              <h2>Gauti „Apache OpenOffice“</h2>
+              <p>Gauti „Apache OpenOffice“ nemokamai, pasirinkus operacinę sistemą, kalbą ir laidą.</p>
+            </a>
+          </div>
         </div>
-      </div>
-    </li>
+      </li>
+    </noscript>
+
     <li>
       <hr />
     </li>