From 8213543ed33d33605ff8b63dc7f8d563233189b7 Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Tue, 3 Feb 2026 12:45:46 +0000 Subject: [PATCH] feat(roasters): consolidate table columns and restyle actions - Combine Country/City into Location column with city as desktop subtext - Add City as separate mobile-only field for card layout - Move homepage icon into Actions column alongside delete button - Remove bordered style from homepage icon to match other action icons --- templates/partials/roaster_list.html | 102 ++++++++++++++------------- 1 file changed, 52 insertions(+), 50 deletions(-) diff --git a/templates/partials/roaster_list.html b/templates/partials/roaster_list.html index 4f0e5fe..39ac81d 100644 --- a/templates/partials/roaster_list.html +++ b/templates/partials/roaster_list.html @@ -18,15 +18,11 @@ - {% call table::sortable_header("Added", "created-at", navigator, "#roaster-list") %} {% - call table::sortable_header("Name", "name", navigator, "#roaster-list") %} {% call - table::sortable_header("Country", "country", navigator, "#roaster-list") %} {% call - table::sortable_header("City", "city", navigator, "#roaster-list") %} - + {% call table::sortable_header("Added", "created-at", navigator, "#roaster-list") %} + {% call table::sortable_header("Name", "name", navigator, "#roaster-list") %} + {% call table::sortable_header("Location", "country", navigator, "#roaster-list") %} - {% if is_authenticated %} - {% endif %} @@ -49,52 +45,58 @@ >{{ roaster.name }} - - - - - {% if is_authenticated %} - + {% if !roaster.city.is_empty() %} + {% endif %} + + {% endfor %}
HomepageNotesActions
{{ roaster.country }}{{ roaster.city }} - {% if roaster.has_homepage %} - - - - {% else %} - + + {{ roaster.country }} + {% if !roaster.city.is_empty() %} + {% endif %} {{ roaster.notes }} - - {{ roaster.city }}{{ roaster.notes }} +
+ {% if roaster.has_homepage %} + + {% endif %} + {% if is_authenticated %} + + {% endif %} +
+