Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

specify icon for admin sections#4497

Open
christophemacabiau wants to merge 2 commits intokeystonejs:masterfrom
christophemacabiau:admin-icons
Open

specify icon for admin sections#4497
christophemacabiau wants to merge 2 commits intokeystonejs:masterfrom
christophemacabiau:admin-icons

Conversation

@christophemacabiau
Copy link
Copy Markdown

@christophemacabiau christophemacabiau commented Nov 6, 2017

Description of changes

specify icons for admin sections

To specify an admin icon, use an object (you will find the icon name here):

keystone.set('nav', {
  posts: ['posts', 'post-categories'],
  galleries: {icon: 'rocket', paths: ['galleries', 'enquiries']},
  users: 'users'
};

Related issues (if any)

#4382
not looked sufficiently enough for a similar issue (wont do it again)
this pr is slighty different + doc

Testing

  • Please confirm npm run test-all ran successfully.
    9 tests failing with mongodb, I dont see how this could be related to this commit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants