today_ai_weather/app/views/cities
songtianlun 1cc1af0ff2 feat: extract wiki data badge into a shared partial
- Replace inline wiki data badge code with a render call to a new
  shared partial.
- This change promotes code reuse and simplifies the view
  templates for cities and weather arts.
- The shared partial handles the condition for displaying the badge
  based on the presence of `wiki_data_id`.

This refactor enhances maintainability and adheres to DRY
principles, allowing for easier updates or changes to the wiki
badge display in one location instead of multiple views.
2025-04-02 14:54:49 +08:00
..
_admin_panel.html.erb feat: add admin management features for cities 2025-02-11 17:40:13 +08:00
_city.html.erb feat: add internationalization support 2025-02-21 17:51:25 +08:00
_results.html.erb feat: enhance city pagination and data fetching 2025-02-26 15:31:45 +08:00
_search_city.html.erb feat: add internationalization support 2025-02-21 17:51:25 +08:00
_stat_card.html.erb feat: add statistics card component and refactor views 2025-02-14 14:56:51 +08:00
index.html.erb fix: handle image loading errors in views 2025-03-25 17:21:19 +08:00
show.html.erb feat: extract wiki data badge into a shared partial 2025-04-02 14:54:49 +08:00