- = platform_icon($platform->icon_filename, 'w-full mb-1') ?>
+ = platform_icon($platform->name, 'w-full mb-1') ?>
= anchor($platform->home_url, icon('external-link', 'mx-auto'), [
'class' => 'flex-1 text-gray-600 hover:text-gray-900',
@@ -81,7 +81,7 @@
'yes',
old(
$platform->name . '_visible',
- $platform->visible ? $platform->visible : false
+ $platform->is_visible ? $platform->is_visible : false
),
'text-sm'
) ?>
diff --git a/app/Views/episode.php b/app/Views/episode.php
index 4e52bca2..2bebb296 100644
--- a/app/Views/episode.php
+++ b/app/Views/episode.php
@@ -5,9 +5,7 @@
= $episode->title ?>
-
+
diff --git a/app/Views/podcast.php b/app/Views/podcast.php
index 52329cd3..2d02c189 100644
--- a/app/Views/podcast.php
+++ b/app/Views/podcast.php
@@ -6,9 +6,7 @@
= $podcast->title ?>
-
+
@@ -46,12 +44,9 @@
]
) ?>
platforms as $platform): ?>
- visible): ?>
+ is_visible): ?>
- = platform_icon(
- $platform->icon_filename,
- 'h-8'
- ) ?>
+ = platform_icon($platform->name, 'h-8') ?>
diff --git a/prepare-release.sh b/prepare-release.sh
index 93d53ae7..ee392c12 100644
--- a/prepare-release.sh
+++ b/prepare-release.sh
@@ -10,7 +10,7 @@ echo "$( jq '.version = "'$COMPOSER_VERSION'"' composer.json )" > composer.json
sed -i "s/^defined('CP_VERSION').*/defined('CP_VERSION') || define('CP_VERSION', '$VERSION');/" ./app/Config/Constants.php
# download GeoLite2-City archive and extract it to writable/uploads
-wget -c "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=v3PguJMcmZMb9Ld0&suffix=tar.gz" -O - | tar -xz -C ./writable/uploads/
+wget -c "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=$MAXMIND_LICENCE_KEY&suffix=tar.gz" -O - | tar -xz -C ./writable/uploads/
# rename extracted archives' folders
mv ./writable/uploads/GeoLite2-City* ./writable/uploads/GeoLite2-City