->hideFromIndex()

This commit is contained in:
Benjamin Takats
2023-01-24 20:13:33 +01:00
parent b6a75aacaa
commit d8086d9201
12 changed files with 27 additions and 15 deletions

View File

@@ -104,15 +104,17 @@ class LibraryItem extends Resource
->exceptOnForms(),
Images::make(__('Main picture'), 'main')
->conversionOnIndexView('thumb')->showStatistics(),
->conversionOnIndexView('thumb')
->showStatistics(),
Images::make(__('Images'), 'images')
->conversionOnIndexView('thumb')
->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')
->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')
->options(