Skip to content

Feat : Added Gender and Employment Status to Faculty Info Card#449

Open
NaveenMM2006 wants to merge 5 commits into
nitp-website:mainfrom
NaveenMM2006:main
Open

Feat : Added Gender and Employment Status to Faculty Info Card#449
NaveenMM2006 wants to merge 5 commits into
nitp-website:mainfrom
NaveenMM2006:main

Conversation

@NaveenMM2006

Copy link
Copy Markdown
Contributor

Frontend Enhancements – Faculty Card

Overview

This update enhances the Faculty Card UI by adding faculty employment status and gender indicators.

Features Added

1. Employment Status Display

Added employment status on each faculty card.

Status is derived from the is_retired field:

  • Currently Working – for active faculty members
  • Retired – for retired faculty members

2. Gender Indicator

Added a gender indicator on the faculty card.

Gender is displayed using visual symbols based on the gender field received from the API:

  • ♂ Male
  • ♀ Female

The indicator is displayed at the top-right corner of the faculty card for quick identification.

API Fields Used

{
  "gender": "MALE",
  "is_retired": 1
}

Testing

Verified:

  • Male faculty display ♂ symbol.
  • Female faculty display ♀ symbol.
  • Retired faculty display "Retired" status.
  • Active faculty display "Currently Working" status.
  • Responsive behavior across different screen sizes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant