Skip to content

Commit

Permalink
clean up match decision subway map
Browse files Browse the repository at this point in the history
  • Loading branch information
dtgreiner committed Oct 11, 2024
1 parent b896e14 commit b5b143b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions app/views/matches/_current_step_info.haml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
.d-flex.mb-5.align-items-end.flex-wrap
- if @match.current_decision.present?
.d-flex.flex-column
.summary-readout.mb-3
.summary-readout--tile
%h3.h4 Current Step
%h1.h2
-if [email protected]_status[:name] == "In Progress"
= match.overall_status[:name]
-else
= @match.current_decision.step_name
.summary-readout--tile
%h3.h4 Assigned To
%h1.h2
= @match.current_decision.try(:actor_type) || 'N/A'
= render 'match_list_base/current_step', match: @match
- else
- unless @match.current_decision.present?
= render 'matches/restrictions_on_reopening'
.d-flex.mb-5.align-items-end.flex-wrap
.d-flex.flex-column
.summary-readout.mb-3
.summary-readout--tile
%h3.h4 Current Step
%h1.h2
-if @match.overall_status[:name] != "In Progress"
= @match.overall_status[:name]
-else
= @match.current_decision.step_name
.summary-readout--tile
%h3.h4 Assigned To
%h1.h2
= @match.current_decision&.try(:actor_type) || 'N/A'
= render 'match_list_base/current_step', match: @match
%div.ml-auto
- if @match.can_create_overall_note?(access_context.current_contact)
.btn-label.btn-label__primary
Expand Down

0 comments on commit b5b143b

Please sign in to comment.