diff --git a/templates/partials/lists/brew_list.html b/templates/partials/lists/brew_list.html index c3ff7b5..73e8608 100644 --- a/templates/partials/lists/brew_list.html +++ b/templates/partials/lists/brew_list.html @@ -1,6 +1,33 @@ {% import "partials/lists/table.html" as table %} {% import "partials/icons.html" as icons %} +{% macro brew_actions(brew, navigator) %} +
+
+ + + + + + {% if let Some(fp_id) = brew.filter_paper_id %} + + {% endif %} + + + + +
+ +
+{% endmacro %} +
{% if brews.items.is_empty() && !navigator.has_search() %}
{% if is_authenticated %} -
-
- - - - - - {% if let Some(fp_id) = brew.filter_paper_id %} - - {% endif %} - - - - -
- -
+ {% call brew_actions(brew, navigator) %} - - -
+ {% call brew_actions(brew, navigator) %} {% endif %}