Skip to content

Commit

Permalink
Merge pull request #1823 from DFE-Digital/fix-personas-view
Browse files Browse the repository at this point in the history
Show stage on personas index page
  • Loading branch information
thomasleese authored Nov 23, 2023
2 parents 8bc3dbe + 9a19ec6 commit b0cd5f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/personas/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@
row.with_cell(header: true, text: "Country")
row.with_cell(header: true, text: "Status check")
row.with_cell(header: true, text: "Sanction check")
row.with_cell(header: true, text: "Status")
row.with_cell(header: true, text: "Stage")
row.with_cell(header: true, text: "Email address")
row.with_cell(header: true, text: "Actions", numeric: true)
end
end

table.with_body do |body|
@teacher_personas.each_with_index do |persona, index|
@teacher_personas.each do |persona|
body.with_row do |row|
row.with_cell do
bucket = region_bucket_for_persona(persona)
Expand All @@ -136,7 +136,7 @@
row.with_cell { persona_check_tag(persona[:status_check]) }
row.with_cell { persona_check_tag(persona[:sanction_check]) }
row.with_cell do
render(StatusTag::Component.new(persona[:status]))
render(StatusTag::Component.new(persona[:stage]))
end
row.with_cell { persona[:teacher].email }

Expand Down

0 comments on commit b0cd5f0

Please sign in to comment.