more button params

This commit is contained in:
Jeremy Kauffman 2018-05-03 13:35:21 -04:00
parent 1650c36481
commit 22e4e350a2
2 changed files with 16 additions and 13 deletions

View file

@ -119,6 +119,7 @@ class DownloadActions extends Actions
'analyticsLabel' => $analyticsLabel, 'analyticsLabel' => $analyticsLabel,
'buttonLabel' => $buttonLabel, 'buttonLabel' => $buttonLabel,
'downloadUrl' => $asset ? $asset['browser_download_url'] : null, 'downloadUrl' => $asset ? $asset['browser_download_url'] : null,
'meta' => true,
'os' => $os, 'os' => $os,
'osTitle' => $osTitle, 'osTitle' => $osTitle,
'osIcon' => $osIcon, 'osIcon' => $osIcon,

View file

@ -17,6 +17,7 @@
<?php js_end() ?> <?php js_end() ?>
<?php endif ?> <?php endif ?>
</div> </div>
<?php if ($meta): ?>
<div class="meta"> <div class="meta">
Version <?php echo $version ?>, Version <?php echo $version ?>,
<?php echo number_format($size, 1) ?> MB, <?php echo number_format($size, 1) ?> MB,
@ -33,6 +34,7 @@
Like source code? Go <a href="https://github.com/lbryio/lbry-app" class="link-primary">here</a>.<P><P> Like source code? Go <a href="https://github.com/lbryio/lbry-app" class="link-primary">here</a>.<P><P>
</div> </div>
<?php endif ?> <?php endif ?>
<?php endif ?>
<?php else: ?> <?php else: ?>
<a href="/get" class="btn-<?php echo $buttonStyle ?> btn-large">Download LBRY</a><BR> <a href="/get" class="btn-<?php echo $buttonStyle ?> btn-large">Download LBRY</a><BR>
<?php endif ?> <?php endif ?>