diff --git a/app/templates/components/drives_table.html b/app/templates/components/drives_table.html index 907a827..26fada7 100644 --- a/app/templates/components/drives_table.html +++ b/app/templates/components/drives_table.html @@ -46,7 +46,13 @@ {%- elif bi.state == 'passed' -%} Passed {%- elif bi.state == 'failed' -%} - Failed{% if bi.stage_name %} ({{ bi.stage_name | replace('_',' ') }}){% endif %} + {# Suppress the stage suffix for SMART + surface_validate stages. + SMART has its own columns, and surface_validate is the dominant + case so a redundant suffix just adds visual noise. The drawer + shows the per-stage Reason for any digging. Keep the suffix for + precheck / final_check since those are rare enough that the hint + is helpful. #} + Failed{% if bi.stage_name and bi.stage_name not in ('short_smart', 'long_smart', 'surface_validate') %} ({{ bi.stage_name | replace('_',' ') }}){% endif %} {%- elif bi.state == 'cancelled' -%} Cancelled {%- elif bi.state == 'unknown' -%}