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 @@
| Homepage | + {% 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") %}Notes | - {% if is_authenticated %}Actions | - {% endif %}{{ roaster.country }} | -{{ roaster.city }} | -- {% if roaster.has_homepage %} - - - - {% else %} - — + |
+ {{ roaster.country }}
+ {% if !roaster.city.is_empty() %}
+ {{ roaster.city }}
{% endif %}
|
- {{ roaster.notes }} | - {% if is_authenticated %} -- - | + {% if !roaster.city.is_empty() %} +{{ roaster.city }} | {% endif %} +{{ roaster.notes }} | +
+
+ {% if roaster.has_homepage %}
+
+ Visit {{ roaster.name }} homepage
+
+
+ {% endif %}
+ {% if is_authenticated %}
+
+ {% endif %}
+
+ |
{% endfor %}
|---|