Skip to content

Commit

Permalink
Add icon for CRD and change cr instances to Instances
Browse files Browse the repository at this point in the history
Signed-off-by: guilhane <guilhane.bourgoin@orange.com>
  • Loading branch information
Guilamb committed Aug 28, 2024
1 parent f7d4557 commit 8fb9063
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions frontend/src/components/App/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ const mdiIcons = {
'expand-all': {
body: '<path fill="currentColor" d="M18 8H8v10H6V8a2 2 0 0 1 2-2h10zm-4-6H4a2 2 0 0 0-2 2v10h2V4h10zm8 10v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2m-2 3h-3v-3h-2v3h-3v2h3v3h2v-3h3z"/>',
},
puzzle: {
body: '<path fill="currentColor" d="M20.5 11H19V7a2 2 0 0 0-2-2h-4V3.5A2.5 2.5 0 0 0 10.5 1A2.5 2.5 0 0 0 8 3.5V5H4a2 2 0 0 0-2 2v3.8h1.5c1.5 0 2.7 1.2 2.7 2.7S5 16.2 3.5 16.2H2V20a2 2 0 0 0 2 2h3.8v-1.5c0-1.5 1.2-2.7 2.7-2.7s2.7 1.2 2.7 2.7V22H17a2 2 0 0 0 2-2v-4h1.5a2.5 2.5 0 0 0 2.5-2.5a2.5 2.5 0 0 0-2.5-2.5" />',
},
},
aliases: {
'more-vert': {
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/Sidebar/prepareRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,11 @@ function prepareRoutes(
{
name: 'crds',
label: t('glossary|Custom Resources'),
icon: 'mdi:puzzle',
subList: [
{
name: 'crs',
label: t('glossary|CR Instances'),
label: t('translation|Instances'),
},
],
},
Expand Down

0 comments on commit 8fb9063

Please sign in to comment.