JonathanGarro / SIMS-Portal

IFRC Surge Information Management Support Portal
4 stars 4 forks source link

Add "legacy" members section to Members page #34

Closed JonathanGarro closed 1 year ago

JonathanGarro commented 1 year ago

Right now, the cards feeding the Members page on the external side of the site show all "Active" members. But would be nice to not just completely remove access to people's profiles once they move on.

Add section at bottom of page, with a link from the top, that shows cards for "Inactive" members as well. Should be relatively straightforward:

  1. Add SQLAlchemy call to DB that's identical to the existing one, just filtered for "Inactive"
  2. Add container to view with same structure to loop the cards.

If that page ends up getting too heavy with lots of members, will need to add pagination to save load times.

JonathanGarro commented 1 year ago

This has been updated in 1.4.1.