Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44c32b95 authored by Scott Main's avatar Scott Main Committed by Android (Google) Code Review
Browse files

Merge "docs: adjust sdk page to show/hide messages based on whether online or...

Merge "docs: adjust sdk page to show/hide messages based on whether online or offline docs mutually dependent on Change-Id: Ie7490973001530098d5001d9ef5e4dbfab86ed08" into honeycomb-mr2
parents 06e2f72b 17e47ad5
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ function onDownload(link) {
</script>
  <?cs else ?> <?cs # end if online ?>

    <?cs if:sdk.preview ?>
    <?cs if:sdk.preview ?><?cs # it's preview offline docs ?>
      <p>Welcome developers! We are pleased to provide you with a preview SDK for the upcoming
    Android 3.0 release, to give you a head-start on developing applications for it.
    </p>
@@ -222,7 +222,14 @@ function onDownload(link) {
    <style type="text/css">
    .non-preview { display:none; }
    </style>
    
    <?cs else ?><?cs # it's normal offline docs ?>
      <style type="text/css">
        p.offline-message { display:block; }
        p.online-message { display:none; }
      </style>
    <?cs /if ?>
    
  <?cs /if ?> <?cs # end if/else online ?>
  
<?cs /if ?> <?cs # end if/else NDK ?>