diff --git a/templates/pages/roaster.html b/templates/pages/roaster.html index 8ee1762..c0eb0c8 100644 --- a/templates/pages/roaster.html +++ b/templates/pages/roaster.html @@ -30,7 +30,9 @@
Country
- {% if !roaster.country_flag.is_empty() %}{{ roaster.country_flag }}{% endif %}{{ roaster.country }} + {% if !roaster.country_flag.is_empty() %} + {{ roaster.country_flag }} + {% endif %}{{ roaster.country }}
{% if let Some(c) = roaster.city %} diff --git a/templates/partials/detail_cards.html b/templates/partials/detail_cards.html index e256746..6b716ff 100644 --- a/templates/partials/detail_cards.html +++ b/templates/partials/detail_cards.html @@ -62,7 +62,9 @@
Origin
- {% if !origin_flag.is_empty() %}{{ origin_flag }}{% endif %}{{ origin }} + {% if !origin_flag.is_empty() %} + {{ origin_flag }} + {% endif %}{{ origin }}
{% endif %} @@ -202,7 +204,9 @@
Country
- {% if !country_flag.is_empty() %}{{ country_flag }}{% endif %}{{ country }} + {% if !country_flag.is_empty() %} + {{ country_flag }} + {% endif %}{{ country }}
{% if let Some(c) = city %} diff --git a/templates/partials/lists/cafe_list.html b/templates/partials/lists/cafe_list.html index f023d07..82184c6 100644 --- a/templates/partials/lists/cafe_list.html +++ b/templates/partials/lists/cafe_list.html @@ -71,7 +71,9 @@ data-label="Location" class="px-4 py-3 whitespace-nowrap md:hidden" > - {% if !cafe.country_flag.is_empty() %}{{ cafe.country_flag }}{% endif %}{{ cafe.country }} + {% if !cafe.country_flag.is_empty() %} + {{ cafe.country_flag }} + {% endif %}{{ cafe.country }} - {% if !cafe.country_flag.is_empty() %}{{ cafe.country_flag }}{% endif %}{{ cafe.country }} + {% if !cafe.country_flag.is_empty() %} + {{ cafe.country_flag }} + {% endif %}{{ cafe.country }} - {% if !roast.origin_flag.is_empty() %}{{ roast.origin_flag }}{% endif %}{{ roast.origin }} + {% if !roast.origin_flag.is_empty() %} + {{ roast.origin_flag }} + {% endif %}{{ roast.origin }} {% if !roast.producer.is_empty() %}