From: Louis Jeckel Date: Sat, 15 Aug 2020 11:15:57 +0000 (+0200) Subject: podcast audio player X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2b71666edafa444351a42849b6b1ad5ba15abd46;p=psq.git podcast audio player --- diff --git a/app/Models/Podcast.php b/app/Models/Podcast.php index 163e360..6aaecca 100644 --- a/app/Models/Podcast.php +++ b/app/Models/Podcast.php @@ -70,7 +70,7 @@ class Podcast extends Model ], ]; - public $fileParams = [ + public $filesParams = [ 'audio' ]; diff --git a/resources/views/admin/podcasts/form.blade.php b/resources/views/admin/podcasts/form.blade.php index 82f624c..ee53975 100644 --- a/resources/views/admin/podcasts/form.blade.php +++ b/resources/views/admin/podcasts/form.blade.php @@ -123,8 +123,9 @@ @component('twill::partials.form.utils._fieldset', ['id' => 'file', 'title' => 'Fichier audio']) @formField('files', [ - 'name' => 'file', + 'name' => 'audio', 'label' => 'Fichier audio', + 'noTranslate' => true, 'max' => 1 ]) diff --git a/resources/views/podcasts/show.blade.php b/resources/views/podcasts/show.blade.php index 9bec90f..8f336a4 100644 --- a/resources/views/podcasts/show.blade.php +++ b/resources/views/podcasts/show.blade.php @@ -58,6 +58,11 @@ +
+ +
@@ -118,7 +123,7 @@
-
+
Haec dum oriens diu perferret, caeli reserato tepore Constantius consulatu suo septies et Caesaris ter egressus Arelate Valentiam petit, in @@ -127,6 +132,7 @@
+
@@ -134,5 +140,4 @@ - @endsection