{# /opportunities summary cards. Two cards mirror the dashboard's headline metrics - same numbers on both surfaces. The cloud-only "Estimated Savings", "Projected Savings", "Clearing Savings", and solution-readiness "X ready / Y% coverage" subvalues are gone (audit doesn't run dry-runs, doesn't generate Solutions, and refuses to surface the existing rules' hardcoded-percentage savings figures). #} {% from "components/_summary_card.html" import summary_card %} {# Single metric: Flagged Jobs - the count of distinct queries that have ≥1 finding. Pairs 1:1 with the dashboard's "Flagged Jobs" card so the user sees the same number on both surfaces. The per-rule row count (``active_count``) is still rendered in the table below but we don't surface it as a headline. #} {% set _opp_sub = [] %} {% if summary.jobs_with_issue_count or summary.jobs_with_suggestion_count %} {% set _ = _opp_sub.append((summary.jobs_with_issue_count or 0) ~ " with issues") %} {% set _ = _opp_sub.append((summary.jobs_with_suggestion_count or 0) ~ " with suggestions") %} {% endif %}