Merge "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." into nyc-dev

This commit is contained in:
Scott Main 2016-03-10 23:12:43 +00:00 committed by Android (Google) Code Review
commit e6e3c70b67
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>