diff --git a/lib/engines/content_block_manager/app/views/content_block_manager/content_block/documents/index.html.erb b/lib/engines/content_block_manager/app/views/content_block_manager/content_block/documents/index.html.erb index e0bec214379..d4706b66a5b 100644 --- a/lib/engines/content_block_manager/app/views/content_block_manager/content_block/documents/index.html.erb +++ b/lib/engines/content_block_manager/app/views/content_block_manager/content_block/documents/index.html.erb @@ -1,12 +1,23 @@ -<% content_for :context, product_name %> -<% content_for :title, "All content blocks" %> +<% content_for :title, product_name %> +<% content_for :title_margin_bottom, 6 %>
- <%= render "govuk_publishing_components/components/button", { - text: "Create new object", - href: content_block_manager.new_content_block_manager_content_block_document_path, - } %> +

Create, edit and use modular content.

+

If you need any support or want to delete a content block, you can raise a support request.

+ + <%= render "govuk_publishing_components/components/button", { + text: "Create new object", + href: content_block_manager.new_content_block_manager_content_block_document_path, + } %> + + + <%= render "govuk_publishing_components/components/button", { + text: "Raise a support request", + href: "https://govuk.zendesk.com", + secondary_solid: true, + } %> +
diff --git a/lib/engines/content_block_manager/features/step_definitions/content_block_manager_steps.rb b/lib/engines/content_block_manager/features/step_definitions/content_block_manager_steps.rb index 91bca265d56..b736ee044e6 100644 --- a/lib/engines/content_block_manager/features/step_definitions/content_block_manager_steps.rb +++ b/lib/engines/content_block_manager/features/step_definitions/content_block_manager_steps.rb @@ -244,7 +244,7 @@ end Then("I should see the details for all documents") do - assert_text "All content blocks" + assert_text "Content Block Manager" ContentBlockManager::ContentBlock::Document.find_each do |document| should_show_summary_card_for_email_address_content_block( @@ -595,7 +595,7 @@ def click_save_and_continue end Then("I should see the content block manager home page") do - expect(page).to have_content("All content blocks") + expect(page).to have_content("Content Block Manager") end When("I click to copy the embed code") do