change printed version in offline docs to check whether in preview or not,

and change the title accordingly, using new preview codename or version number.

Change-Id: I2833dcd05447add10495fea2149b5a9678831235
This commit is contained in:
smain@google.com 2016-03-10 14:16:25 -08:00
parent 5e37eef425
commit 0e3342ff81
1 changed files with 8 additions and 2 deletions

View File

@ -141,8 +141,14 @@
es-lang="Referencia">API Reference</a>
<div class="dac-nav-secondary develop">
<h1 style="font-size: 20px; line-height: 24px; margin: 20px; color:#444"
>Android <?cs var:sdk.version ?> r<?cs var:sdk.rel.id ?>
</h1>
><?cs
if:sdk.preview
?>Android <?cs var:sdk.codename ?>
Preview <?cs var:sdk.preview.version ?><?cs
else
?>Android <?cs var:sdk.version ?>
r<?cs var:sdk.rel.id ?><?cs
/if ?></h1>
</div>
</li>
</ul>