-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2040 from unboxed/review-cil
Move CIL review to new layout
- Loading branch information
Showing
8 changed files
with
83 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 0 additions & 31 deletions
31
app/views/planning_applications/review/cil_liability/edit.html.erb
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
app/views/planning_applications/review/cil_liability/show.html.erb
This file was deleted.
Oops, something went wrong.
33 changes: 16 additions & 17 deletions
33
app/views/planning_applications/review/tasks/_review_assessment.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
<h2 class="app-task-list__section govuk-!-margin-top-8"> | ||
Review assessment | ||
</h2> | ||
<ul class="app-task-list__items" id="review-assessment-section"> | ||
<li class="app-task-list__item"> | ||
<span class="app-task-list__task-name"> | ||
<%= govuk_link_to "Check Community Infrastructure Levy (CIL)", planning_application_review_cil_liability_path(@planning_application) %> | ||
</span> | ||
<div class="govuk-task-list__status app-task-list__task-tag"> | ||
<%= render( | ||
StatusTags::BaseComponent.new( | ||
status: (@planning_application.audits.review_cil_liability.any? ? :complete : :not_started) | ||
) | ||
) %> | ||
</div> | ||
</li> | ||
</ul> | ||
<%= bops_task_accordion(id: "review-assessment") do |accordion| %> | ||
<% accordion.with_heading(text: "Review assessment") %> | ||
<% accordion.with_section(id: "check-cil", expanded: false) do |section| %> | ||
<%= section.with_heading(text: "Check Community Infrastructure Levy (CIL)") %> | ||
<%= section.with_status do %> | ||
<%= render( | ||
StatusTags::BaseComponent.new( | ||
status: (@planning_application.audits.review_cil_liability.any? ? :complete : :not_started) | ||
) | ||
) %> | ||
<% end %> | ||
<%= section.with_footer do %> | ||
<%= render(partial: "planning_applications/review/cil_liability/form") %> | ||
<% end %> | ||
<% end %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters