diff --git a/app/templates/inspections/view.html b/app/templates/inspections/view.html index d843592..141d7b4 100644 --- a/app/templates/inspections/view.html +++ b/app/templates/inspections/view.html @@ -251,7 +251,7 @@ {# Summary counters #} -
+
{{ comparison.improved }} improved @@ -266,91 +266,7 @@
- {# Per-item table — collapsible #} -
-
-
- - - - - - - - - - - - {% for row in comparison.rows %} - - - - - - - - {% endfor %} - -
CategoryItemPreviousCurrentChange
{{ row.category }}{{ row.description[:70] }}{% if row.description|length > 70 %}…{% endif %} - {% if row.parent_pct is not none %} - - {{ row.parent_pct }}% - - {% else %}{% endif %} - - {% if row.current_pct is not none %} - - {{ row.current_pct }}% - - {% else %}{% endif %} - - {% if row.delta is not none %} - {% if row.delta > 0 %} - +{{ row.delta }}% - {% elif row.delta < 0 %} - {{ row.delta }}% - {% else %} - - {% endif %} - {% else %}N/A{% endif %} -
-
-
-
- -
- - {% endif %} {# Header #}