Skip to content

Commit

Permalink
Add link to view tasks
Browse files Browse the repository at this point in the history
Adds a link to the task index page as per the figma designs
  • Loading branch information
rjlynch committed Sep 23, 2024
1 parent 0390808 commit a1a8f88
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 a1a8f88

Please sign in to comment.