Skip to content

Commit

Permalink
Move evidene checklist partial out of evidence list partial and rende…
Browse files Browse the repository at this point in the history
…r them side by side on the summary page
  • Loading branch information
Katy600 committed Nov 7, 2024
1 parent fd07f61 commit 00659f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/views/shared/_claim_accordion.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
%h2.govuk-heading-l
= t('.h2_evidence')
.js-accordion__panel
= render partial: 'shared/evidence_checklist'
= render partial: 'shared/evidence_list'

%h2.govuk-heading-l
Expand Down
3 changes: 1 addition & 2 deletions app/views/shared/_evidence_list.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
= render partial: 'shared/evidence_checklist'

.app-summary-section
- if current_user_persona_is?(CaseWorker) && @claim.documents.any?
= govuk_link_to t('shared.download_all_html', context: t('.existing_evidence')), download_zip_case_workers_claim_path(@claim), class: 'download-all-link'
- if @claim.documents.none?
%p.govuk-body
= t('shared.evicence_list.no_supporting_evidence')
= t('shared.evidence_list.no_supporting_evidence')

- else
= render partial: 'shared/supporting_evidence_uploads', locals: {f: @claim }

0 comments on commit 00659f4

Please sign in to comment.