From: Michael Tremer Date: Thu, 13 Feb 2025 21:09:50 +0000 (+0000) Subject: users: Fix rendering users list X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=161b1483e3f77f80a5497f0ee0c72a6c0e25008a;p=pbs.git users: Fix rendering users list Signed-off-by: Michael Tremer --- diff --git a/src/templates/users/macros.html b/src/templates/users/macros.html index fe1fdcea..00f935ad 100644 --- a/src/templates/users/macros.html +++ b/src/templates/users/macros.html @@ -96,9 +96,11 @@ {{ _("Total Build Time") }}

+ {% set total_build_time = user.get_total_build_time() %} +

- {% if user.total_build_time %} - {{ user.total_build_time | format_time }} + {% if total_build_time %} + {{ total_build_time | format_time }} {% else %} {{ _("N/A") }} {% endif %}