Skip to content

Commit

Permalink
Merge pull request #3217 from DFE-Digital/LUPEYALPHA-972/view-taks-hy…
Browse files Browse the repository at this point in the history
…per-link

Add link to view tasks
  • Loading branch information
rjlynch authored Sep 24, 2024
2 parents 73e8a8a + 850e3ee commit 401eee8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/admin/tasks/_claim_summary.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<%= claim_summary_heading(claim) %>
</span>
<span class="govuk-body-m">
<%= link_to "View tasks", admin_claim_tasks_path(claim), class: "govuk-link" unless current_page? admin_claim_tasks_path(@claim) %>
<%= link_to "View full claim", admin_claim_path(claim), class: "govuk-link" %>
<%= link_to "Amend claim", new_admin_claim_amendment_path(claim), class: "govuk-link" if claim.amendable? %>
<%= link_to "Top up claim", new_admin_claim_topup_path(@claim), class: "govuk-link" if @claim.topupable? %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<%= claim_summary_heading(claim) %>
</span>
<span class="govuk-body-m">
<%= link_to "View tasks", admin_claim_tasks_path(claim), class: "govuk-link" %>
<%= link_to "View full claim", admin_claim_path(claim), class: "govuk-link" %>
<%= link_to "Amend claim", new_admin_claim_amendment_path(claim), class: "govuk-link" if claim.amendable? %>
<%= link_to "Top up claim", new_admin_claim_topup_path(@claim), class: "govuk-link" if @claim.topupable? %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<%= claim_summary_heading(claim) %>
</span>
<span class="govuk-body-m">
<%= link_to "View tasks", admin_claim_tasks_path(claim), class: "govuk-link" %>
<%= link_to "View full claim", admin_claim_path(claim), class: "govuk-link" %>
<%= link_to "Amend claim", new_admin_claim_amendment_path(claim), class: "govuk-link" if claim.amendable? %>
<%= link_to "Top up claim", new_admin_claim_topup_path(@claim), class: "govuk-link" if @claim.topupable? %>
Expand Down

0 comments on commit 401eee8

Please sign in to comment.