From: Michael Tremer Date: Mon, 8 Jan 2024 18:48:05 +0000 (+0000) Subject: fireinfo: Fix rendering the processors page X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eedfca72738167660227f451feb2ba81393d0a65;p=ipfire.org.git fireinfo: Fix rendering the processors page Fixes: #13489 Signed-off-by: Michael Tremer --- diff --git a/src/templates/fireinfo/processors.html b/src/templates/fireinfo/processors.html index e8528f3e..78367619 100644 --- a/src/templates/fireinfo/processors.html +++ b/src/templates/fireinfo/processors.html @@ -38,7 +38,9 @@ {% for arch in sorted(map) %}

{{ arch }}

- {% for flag, percentage in flags[platform] %} + {% for flag in sorted(map[arch], key=lambda f: map[arch][f], reverse=True) %} + {% set p = map[arch][flag] %} +
{% if flag == "aes" %}