mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
more button params
This commit is contained in:
parent
1650c36481
commit
22e4e350a2
2 changed files with 16 additions and 13 deletions
|
@ -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,
|
||||||
|
|
|
@ -17,21 +17,23 @@
|
||||||
<?php js_end() ?>
|
<?php js_end() ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="meta">
|
<?php if ($meta): ?>
|
||||||
Version <?php echo $version ?>,
|
|
||||||
<?php echo number_format($size, 1) ?> MB,
|
|
||||||
built on <?php echo date('F d', $releaseTimestamp) ?>
|
|
||||||
at <?php echo date('g:i:s A', $releaseTimestamp) ?> UTC
|
|
||||||
</div>
|
|
||||||
<?php if ($os === OS::OS_LINUX): ?>
|
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
Works with Ubuntu, Debian, or any distro with <code>apt</code> or <code>dpkg</code>.
|
Version <?php echo $version ?>,
|
||||||
For other Linux flavors, <a href="https://github.com/lbryio/lbry-app" class="link-primary">see the source</a>.
|
<?php echo number_format($size, 1) ?> MB,
|
||||||
</div>
|
built on <?php echo date('F d', $releaseTimestamp) ?>
|
||||||
<?php elseif ($sourceLink): ?>
|
at <?php echo date('g:i:s A', $releaseTimestamp) ?> UTC
|
||||||
<div class="meta">
|
|
||||||
Like source code? Go <a href="https://github.com/lbryio/lbry-app" class="link-primary">here</a>.<P><P>
|
|
||||||
</div>
|
</div>
|
||||||
|
<?php if ($os === OS::OS_LINUX): ?>
|
||||||
|
<div class="meta">
|
||||||
|
Works with Ubuntu, Debian, or any distro with <code>apt</code> or <code>dpkg</code>.
|
||||||
|
For other Linux flavors, <a href="https://github.com/lbryio/lbry-app" class="link-primary">see the source</a>.
|
||||||
|
</div>
|
||||||
|
<?php elseif ($sourceLink): ?>
|
||||||
|
<div class="meta">
|
||||||
|
Like source code? Go <a href="https://github.com/lbryio/lbry-app" class="link-primary">here</a>.<P><P>
|
||||||
|
</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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue