diff --git a/assets/js/releases.js b/assets/js/releases.js index 19ecc62..f1c8baf 100644 --- a/assets/js/releases.js +++ b/assets/js/releases.js @@ -75,8 +75,12 @@ jQuery(function($) { function renderReleaseLinks (r) { var dlIcon = ' '; $('#release-deb').html('' + dlIcon + r.assets.deb.name + ''); - $('#release-fedora').html('' + dlIcon + r.assets.fedora.name + ''); - + if (r.assets.fedora32) { + $('#release-fedora').html(`${dlIcon}${r.assets.fedora.name} + ${dlIcon}${r.assets.fedora32.name}`); + } else { + $('#release-fedora').html('' + dlIcon + r.assets.fedora.name + ''); + } if (r.assets.suse) { $('.distro-icon.distro-opensuse').show(); $('#release-suse').html('' + dlIcon + r.assets.suse.name + ''); @@ -112,10 +116,11 @@ jQuery(function($) { var suse = getAssetLink(release.assets, 'suse.rpm'); var centos = getAssetLink(release.assets, 'centos7.rpm'); var fedora = getAssetLink(release.assets, 'fedora.rpm'); + var fedora32 = getAssetLink(release.assets, 'fedora32.rpm'); var deb = getAssetLink(release.assets, '.deb'); - if (fedora && deb) { - return { suse, centos, fedora, deb }; + if ((fedora || fedora32) && deb) { + return { suse, centos, fedora, fedora32, deb }; } }