Skip to content

Commit

Permalink
Remove contents list component
Browse files Browse the repository at this point in the history
- update contents list with body component and other references to use contents list component from gem
- update tests
  • Loading branch information
andysellick committed Jun 1, 2018
1 parent 2079044 commit 396acd2
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 628 deletions.
70 changes: 0 additions & 70 deletions app/assets/stylesheets/components/_contents-list.scss

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions app/assets/stylesheets/components/print/_contents-list.scss

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/stylesheets/print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
@import 'measurements';
@import 'typography';

@import 'components/print/*';
@import 'govuk_publishing_components/all_components_print';
@import 'print/html-publication';
19 changes: 0 additions & 19 deletions app/helpers/contents_list_helper.rb

This file was deleted.

2 changes: 1 addition & 1 deletion app/views/components/_contents-list-with-body.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div id="contents" class="app-c-contents-list-with-body"<%= sticky_attr %>>
<% if contents.any? %>
<div class="responsive-bottom-margin">
<%= render 'components/contents-list', contents: contents %>
<%= render 'govuk_publishing_components/components/contents_list', contents: contents %>
</div>
<% end %>
<%= block %>
Expand Down
79 changes: 0 additions & 79 deletions app/views/components/_contents-list.html.erb

This file was deleted.

Loading

0 comments on commit 396acd2

Please sign in to comment.