mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
->hideFromIndex()
This commit is contained in:
@@ -78,7 +78,7 @@ class LibraryItem extends Model implements HasMedia, Sortable
|
|||||||
->singleFile()
|
->singleFile()
|
||||||
->useFallbackUrl(asset('img/einundzwanzig.png'));
|
->useFallbackUrl(asset('img/einundzwanzig.png'));
|
||||||
$this->addMediaCollection('single_file')
|
$this->addMediaCollection('single_file')
|
||||||
->acceptsMimeTypes(['application/pdf'])
|
->acceptsMimeTypes(['application/pdf', 'application/zip', 'application/octet-stream', 'application/x-zip-compressed', 'multipart/x-zip'])
|
||||||
->singleFile();
|
->singleFile();
|
||||||
$this->addMediaCollection('images')
|
$this->addMediaCollection('images')
|
||||||
->useFallbackUrl(asset('img/einundzwanzig.png'));
|
->useFallbackUrl(asset('img/einundzwanzig.png'));
|
||||||
|
|||||||
@@ -104,15 +104,17 @@ class LibraryItem extends Resource
|
|||||||
->exceptOnForms(),
|
->exceptOnForms(),
|
||||||
|
|
||||||
Images::make(__('Main picture'), 'main')
|
Images::make(__('Main picture'), 'main')
|
||||||
->conversionOnIndexView('thumb')->showStatistics(),
|
->conversionOnIndexView('thumb')
|
||||||
|
->showStatistics(),
|
||||||
|
|
||||||
Images::make(__('Images'), 'images')
|
Images::make(__('Images'), 'images')
|
||||||
->conversionOnIndexView('thumb')
|
->conversionOnIndexView('thumb')
|
||||||
->help('Upload images here to insert them later in the Markdown Description. But you have to save before.')
|
->help('Upload images here to insert them later in the Markdown Description. But you have to save before.')
|
||||||
->hideFromIndex()->showStatistics(),
|
->hideFromIndex()
|
||||||
|
->showStatistics(),
|
||||||
|
|
||||||
Files::make(__('Downloadable File'), 'single_file')
|
Files::make(__('Downloadable File'), 'single_file')
|
||||||
->help('Für neue Datei-Typen bitte bei den Admins melden. (Derzeit: PDF)'),
|
->help(__('Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)')),
|
||||||
|
|
||||||
Select::make(__('Language Code'), 'language_code')
|
Select::make(__('Language Code'), 'language_code')
|
||||||
->options(
|
->options(
|
||||||
|
|||||||
@@ -696,5 +696,6 @@
|
|||||||
"Filter": "",
|
"Filter": "",
|
||||||
"no location set": "kein Ort gesetzt",
|
"no location set": "kein Ort gesetzt",
|
||||||
"Open on Youtube": "Auf Youtube öffnen",
|
"Open on Youtube": "Auf Youtube öffnen",
|
||||||
"You do not have permission to view the page.": "Du hast keine Berechtigung, die Seite anzuzeigen."
|
"You do not have permission to view the page.": "Du hast keine Berechtigung, die Seite anzuzeigen.",
|
||||||
|
"Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)": "Bitte kontaktiere die Administratoren für neue Dateitypen, ansonsten packe die Dateien in ein ZIP! (Derzeit: PDF, ZIP)"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -690,5 +690,6 @@
|
|||||||
"Filter": "",
|
"Filter": "",
|
||||||
"no location set": "",
|
"no location set": "",
|
||||||
"Open on Youtube": "",
|
"Open on Youtube": "",
|
||||||
"You do not have permission to view the page.": ""
|
"You do not have permission to view the page.": "",
|
||||||
|
"Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)": ""
|
||||||
}
|
}
|
||||||
@@ -690,5 +690,6 @@
|
|||||||
"Filter": "",
|
"Filter": "",
|
||||||
"no location set": "",
|
"no location set": "",
|
||||||
"Open on Youtube": "",
|
"Open on Youtube": "",
|
||||||
"You do not have permission to view the page.": ""
|
"You do not have permission to view the page.": "",
|
||||||
|
"Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)": ""
|
||||||
}
|
}
|
||||||
@@ -691,5 +691,6 @@
|
|||||||
"Filter": "",
|
"Filter": "",
|
||||||
"no location set": "",
|
"no location set": "",
|
||||||
"Open on Youtube": "",
|
"Open on Youtube": "",
|
||||||
"You do not have permission to view the page.": ""
|
"You do not have permission to view the page.": "",
|
||||||
|
"Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)": ""
|
||||||
}
|
}
|
||||||
@@ -691,5 +691,6 @@
|
|||||||
"Filter": "",
|
"Filter": "",
|
||||||
"no location set": "",
|
"no location set": "",
|
||||||
"Open on Youtube": "",
|
"Open on Youtube": "",
|
||||||
"You do not have permission to view the page.": ""
|
"You do not have permission to view the page.": "",
|
||||||
|
"Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)": ""
|
||||||
}
|
}
|
||||||
@@ -691,5 +691,6 @@
|
|||||||
"Filter": "",
|
"Filter": "",
|
||||||
"no location set": "",
|
"no location set": "",
|
||||||
"Open on Youtube": "",
|
"Open on Youtube": "",
|
||||||
"You do not have permission to view the page.": ""
|
"You do not have permission to view the page.": "",
|
||||||
|
"Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)": ""
|
||||||
}
|
}
|
||||||
@@ -691,5 +691,6 @@
|
|||||||
"Filter": "",
|
"Filter": "",
|
||||||
"no location set": "",
|
"no location set": "",
|
||||||
"Open on Youtube": "",
|
"Open on Youtube": "",
|
||||||
"You do not have permission to view the page.": ""
|
"You do not have permission to view the page.": "",
|
||||||
|
"Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)": ""
|
||||||
}
|
}
|
||||||
@@ -691,5 +691,6 @@
|
|||||||
"Filter": "",
|
"Filter": "",
|
||||||
"no location set": "",
|
"no location set": "",
|
||||||
"Open on Youtube": "",
|
"Open on Youtube": "",
|
||||||
"You do not have permission to view the page.": ""
|
"You do not have permission to view the page.": "",
|
||||||
|
"Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)": ""
|
||||||
}
|
}
|
||||||
@@ -691,5 +691,6 @@
|
|||||||
"Filter": "",
|
"Filter": "",
|
||||||
"no location set": "",
|
"no location set": "",
|
||||||
"Open on Youtube": "",
|
"Open on Youtube": "",
|
||||||
"You do not have permission to view the page.": ""
|
"You do not have permission to view the page.": "",
|
||||||
|
"Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)": ""
|
||||||
}
|
}
|
||||||
@@ -665,5 +665,6 @@
|
|||||||
"Filter": "",
|
"Filter": "",
|
||||||
"no location set": "",
|
"no location set": "",
|
||||||
"Open on Youtube": "",
|
"Open on Youtube": "",
|
||||||
"You do not have permission to view the page.": ""
|
"You do not have permission to view the page.": "",
|
||||||
|
"Please contact the admins for new file types, otherwise pack the files in a ZIP! (Currently: PDF, ZIP)": ""
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user