Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove help page #3373

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/controllers/development_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def index
document_collection
fatality_notice
guide
help_page
html_publication
news_article
placeholder_corporate_information_page
Expand Down
1 change: 0 additions & 1 deletion app/presenters/document_collection_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def group_document_link_public_updated_at(link)
disallowed_document_types = %w[answer
completed_transaction
guide
help_page
local_transaction
place
simple_smart_answer
Expand Down
4 changes: 0 additions & 4 deletions app/presenters/help_page_presenter.rb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/content_items/_body_with_related_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
<%= raw(@content_item.body) %>
<% end %>

<% if @content_item.last_updated && @content_item.schema_name == "help_page" %>
georges1996 marked this conversation as resolved.
Show resolved Hide resolved
<%= render "components/published_dates", {
last_updated: @content_item.last_updated
} %>
<% end %>
</div>
</div>
<%= render 'shared/sidebar_navigation' %>
Expand Down
10 changes: 0 additions & 10 deletions app/views/content_items/help_page.html.erb

This file was deleted.

10 changes: 0 additions & 10 deletions config/govuk_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@ rtl_publication_1: /government/publications/saudi-arabia-country-of-concern--2/9
rtl_publication_2: /government/publications/apply-for-a-uk-visa-in-saudi-arabia/%D8%B7%D9%84%D8%A8-%D8%AA%D8%A3%D8%B4%D9%8A%D8%B1%D8%A9-%D9%84%D9%84%D9%85%D9%84%D9%83%D8%A9-%D8%A7%D9%84%D9%85%D8%AA%D8%AD%D8%AF%D8%A9-%D9%85%D9%86-%D8%A7%D9%84%D9%85%D9%85%D9%84%D9%83%D8%A9-%D8%A7%D9%84%D8%B9%D8%B1%D8%A8%D9%8A%D8%A9-%D8%A7%D9%84%D8%B3%D8%B9%D9%88%D8%AF%D9%8A%D8%A9-%D8%B9%D9%85%D9%84%D9%8A%D8%A9-%D8%A7%D9%84%D8%B7%D9%84%D8%A8
rtl_publication_3: /government/publications/apply-for-a-uk-visa-in-kuwait/%D8%B7%D9%84%D8%A8-%D8%AA%D8%A3%D8%B4%D9%8A%D8%B1%D8%A9-%D9%84%D8%AF%D9%88%D9%84%D8%A9-%D9%85%D9%86-%D8%AF%D9%88%D9%84-%D8%A7%D9%84%D9%83%D9%88%D9%85%D9%88%D9%86%D9%88%D9%84%D8%AB-%D8%A3%D9%88-%D8%A3%D9%82%D8%A7%D9%84%D9%8A%D9%85-%D9%85%D8%A7-%D9%88%D8%B1%D8%A7%D8%A1-%D8%A7%D9%84%D8%A8%D8%AD%D8%A7%D8%B1-%D8%A7%D9%84%D8%A8%D8%B1%D9%8A%D8%B7%D8%A7%D9%86%D9%8A%D8%A9-%D9%85%D9%86-%D8%A7%D8%B3%D9%85-%D8%A7%D9%84%D8%AF%D9%88%D9%84%D8%A9

# Most popular from https://docs.publishing.service.gov.uk/document-types/help+page.html (19 April 2017)
help_page_0: '/help/cookies'
help_page_1: '/help/accessibility'
help_page_2: '/help/browsers'
help_page_3: '/help/terms-conditions'
help_page_4: '/help/beta'
help_page_5: '/help/privacy-policy'
help_page_6: '/help/about-govuk'
help_page_7: '/help/update-email-notifications'

# Most popular guides (8 May 2017)
guide_0: '/log-in-register-hmrc-online-services'
guide_1: '/log-in-file-self-assessment-tax-return'
Expand Down
26 changes: 0 additions & 26 deletions test/integration/help_page_test.rb

This file was deleted.

1 change: 0 additions & 1 deletion test/presenters/document_collection_presenter_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ class PresentedDocumentCollection < TestCase
disallowed_document_types = %w[answer
completed_transaction
guide
help_page
local_transaction
place
simple_smart_answer
Expand Down
15 changes: 0 additions & 15 deletions test/presenters/help_page_presenter_test.rb

This file was deleted.

Loading