platform-coop-toolkit / coop-map-directory-index

The Map/Directory/Index component of the Platform Cooperative Development Kit.
https://directory.platform.coop
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

feat: add Role.icon #95

Closed greatislander closed 4 years ago

greatislander commented 4 years ago

Description

Adds a CharField to the Role model for an icon, which can be used to reference a Pinecone icon ID for each role. Similar to SocialMedia.font_awesome.

Steps to test

  1. Check out branch.
  2. Run migrations for accounts.
  3. Visit Roles in admin.

Expected behavior: A new text field appears for "Icon" on each role.

Additional information

Not applicable.

Related issues

Blocks #28.