Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAI-2378 Reduce spacing on multiple locations on the Vacancy details page #284

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

balaji-j
Copy link
Contributor

@balaji-j balaji-j commented Feb 28, 2025

✨ Refactor address display in location listings

  • The address display for "MultipleLocations" was updated in both views.
  • Replaced traditional foreach with Razor @foreach syntax.
  • Improved readability while maintaining functionality.
  • Ensured proper HTML structure by repositioning </ul> tag.
  • Enhanced code consistency across related files.

Changes made by Balaji Jambulingam

Screen Grabs: Anon & Multi-city ML
image
image

- Updated address display for "MultipleLocations" in both views.
- Replaced traditional `foreach` with Razor `@foreach` syntax.
- Improved readability while maintaining functionality.
- Ensured proper HTML structure by repositioning `</ul>` tag.
- Enhanced code consistency across related files.

Changes made by Balaji Jambulingam
@balaji-j balaji-j requested review from dashton82 and killij February 28, 2025 10:00
@das-github-app
Copy link

Please remember to check any packages used by this application to ensure they are up to date @balaji-j. cc/ @ecarroll95

- Change output.TagName from "li" to "span" when Flat is true.
- Retain output.TagName as "p" when Flat is false.
- Adjusts rendered HTML structure based on Flat condition.
- Reflects design decision for better semantic usage.
- Ensures consistent styling with new tag structure.

Changes made by Balaji Jambulingam
@das-github-app
Copy link

Please remember to check any packages used by this application to ensure they are up to date @balaji-j. cc/ @ecarroll95

- Wrap each address in a <li> element for better structure.
- Use an unordered list (<ul>) to enhance readability.
- Ensure compliance with HTML standards for list items.
- Update both _ClosedVacancyWhenAuthenticated.cshtml and _LiveVacancy.cshtml.
- Improve user experience by clearly listing available locations.

Changes made by Balaji Jambulingam
@das-github-app
Copy link

Please remember to check any packages used by this application to ensure they are up to date @balaji-j. cc/ @ecarroll95

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.

2 participants