Closed brylie closed 1 month ago
This pull request standardizes the HTML structure of search result templates across the site to use a Bootstrap card body format. It ensures a consistent appearance and layout by updating titles to use an H2 element with Bootstrap classes and wrapping titles in a card title link. Additionally, it removes the content type in parentheses next to the title across all search templates and adjusts the fallback display for search results without a specific template. The core search functionality in search/views.py
remains unchanged.
Files | Changes |
---|---|
search/templates/search/online_worship.html search/templates/search/magazine_article.html search/templates/search/community_directory.html search/templates/search/event.html search/templates/search/magazine_issue.html search/templates/search/meeting.html search/templates/search/organization.html |
Standardized the HTML structure to use a Bootstrap card body format, updated titles to H2 elements with Bootstrap classes, and wrapped titles in card title links. |
search/templates/search/search.html |
Adjusted fallback display to use Bootstrap card body format and removed content type in parentheses next to the title. |
search/views.py |
Maintained core search functionality with a minor comment change. |
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Closes #1066
Updates search result templates to follow a standardized format across the site.
search/templates/search/search.html
for search results without a specific template to also use the Bootstrap card body format and removes the content type in parentheses next to the title, ensuring consistency even when a specific template is not available.search/views.py
, ensuring that the search results are correctly rendered using the updated templates without altering the core search functionality.For more details, open the Copilot Workspace session.
Summary by Sourcery
This pull request standardizes the search result templates across the site by updating the HTML structure to use a Bootstrap card body format, ensuring consistent appearance and layout. It also removes the content type in parentheses next to the title for a cleaner display and maintains the core search functionality.
search/templates/search/search.html
to use the Bootstrap card body format and removed the content type in parentheses next to the title.