Skip to content

Commit

Permalink
Reorder CP settings a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Feb 4, 2024
1 parent 7514601 commit ed09886
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/web/twig/variables/Cp.php
Original file line number Diff line number Diff line change
Expand Up @@ -433,17 +433,17 @@ public function settings(): array

$label = Craft::t('app', 'Content');

$settings[$label]['fields'] = [
'iconMask' => '@app/icons/light/pen-to-square.svg',
'label' => Craft::t('app', 'Fields'),
$settings[$label]['sections'] = [
'iconMask' => '@app/icons/light/newspaper.svg',
'label' => Craft::t('app', 'Sections'),
];
$settings[$label]['entry-types'] = [
'iconMask' => '@app/icons/light/files.svg',
'label' => Craft::t('app', 'Entry Types'),
];
$settings[$label]['sections'] = [
'iconMask' => '@app/icons/light/newspaper.svg',
'label' => Craft::t('app', 'Sections'),
$settings[$label]['fields'] = [
'iconMask' => '@app/icons/light/pen-to-square.svg',
'label' => Craft::t('app', 'Fields'),
];
$settings[$label]['globals'] = [
'iconMask' => '@app/icons/light/globe.svg',
Expand All @@ -460,15 +460,14 @@ public function settings(): array

$label = Craft::t('app', 'Media');

$settings[$label]['filesystems'] = [
'iconMask' => '@app/icons/light/folder-open.svg',
'label' => Craft::t('app', 'Filesystems'),
];

$settings[$label]['assets'] = [
'iconMask' => '@app/icons/light/image.svg',
'label' => Craft::t('app', 'Assets'),
];
$settings[$label]['filesystems'] = [
'iconMask' => '@app/icons/light/folder-open.svg',
'label' => Craft::t('app', 'Filesystems'),
];

$label = Craft::t('app', 'Plugins');

Expand Down

0 comments on commit ed09886

Please sign in to comment.