Update admin config
Tom Rutgers
committed Aug 20, 2018
commit eba33d576b9d2a33be01718415a03e8f6b92b80d
Showing 1
changed file with
18 additions
and 19 deletions
source/admin/config.yml
+18
-19
| @@ | @@ -60,29 +60,28 @@ collections: |
| - name: settings | |
| label: Settings | |
| files: | |
| - | - file: data/settings/site.yml |
| - | label: Site settings |
| - | name: site_settings |
| + | - file: data/settings/navigation.yml |
| + | label: Navigation |
| + | name: navigation |
| fields: | |
| - label: Navigation | |
| - | name: navigation |
| + | name: nav_items |
| widget: list | |
| fields: | |
| - {label: Label, name: label, widget: string} | |
| - {label: Path, name: path, widget: string} | |
| + | - file: data/settings/units.yml |
| + | label: Units |
| + | name: units |
| + | fields: |
| + | - label: Currency |
| + | name: currency |
| + | widget: select |
| + | options: ['€', '$', '£'] |
| + | default: '€' |
| - | - label: Units |
| - | name: units |
| - | widget: object |
| - | fields: |
| - | - label: Currency |
| - | name: currency |
| - | widget: select |
| - | options: ['€', '$', '£'] |
| - | default: '€' |
| - | |
| - | - label: Weight |
| - | name: weight |
| - | widget: select |
| - | options: ['kg', ' st', ' lb'] |
| - | default: 'kg' |
| + | - label: Weight |
| + | name: weight |
| + | widget: select |
| + | options: ['kg', ' st', ' lb'] |
| + | default: 'kg' |