mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-14 14:13:35 +02:00
Improved configuration fields for hiding page types in Admin
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
* Removed old `scss.sh` and `watch.sh` scripts, use `gulp watch-css`
|
||||
* Added keysOnly parameter to `AdminPlugin::pagesTypes()` and `AdminPlugin::pagesModularTypes()` methods
|
||||
* Added ignore parameter to `Admin::types()` and `Admin::modularTypes()` methods
|
||||
* Improved configuration fields for hiding page types in Admin
|
||||
1. [](#bugfix)
|
||||
* Fixed minor UI padding in Flex pages [#1825](https://github.com/getgrav/grav-plugin-admin/issues/1825)
|
||||
|
||||
|
||||
@@ -257,14 +257,26 @@ form:
|
||||
help: Shows the user a field to enter the word DELETE and enable the confirm delete button.
|
||||
|
||||
hide_page_types:
|
||||
type: array
|
||||
type: select
|
||||
size: large
|
||||
label: Hide page types in Admin
|
||||
value_only: true
|
||||
classes: fancy
|
||||
multiple: true
|
||||
array: true
|
||||
selectize:
|
||||
create: true
|
||||
data-options@: ['\Grav\Plugin\AdminPlugin::pagesTypes', true]
|
||||
|
||||
hide_modular_page_types:
|
||||
type: array
|
||||
type: select
|
||||
size: large
|
||||
label: Hide modular page types in Admin
|
||||
value_only: true
|
||||
classes: fancy
|
||||
multiple: true
|
||||
array: true
|
||||
selectize:
|
||||
create: true
|
||||
data-options@: ['\Grav\Plugin\AdminPlugin::pagesModularTypes', true]
|
||||
|
||||
MediaResize:
|
||||
type: section
|
||||
|
||||
Reference in New Issue
Block a user