From 64f4fe5e5e31d92abb062d037910299798c9ac4e Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Fri, 27 Mar 2020 06:39:02 +0000 Subject: [PATCH] Move webchat to the top of the page HMRC are experiencing high numbers of calls at the moment and we want to make sure that people are using the webchat were possible, so move this up to the top of the page so it becomes more visible. --- app/views/content_items/contact.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/content_items/contact.html.erb b/app/views/content_items/contact.html.erb index 191d39f2d..2b490e0c1 100644 --- a/app/views/content_items/contact.html.erb +++ b/app/views/content_items/contact.html.erb @@ -16,6 +16,11 @@
<% body = capture do %> + <% if @content_item.show_webchat? %> +

Webchat

+ <%= render 'shared/webchat' %> + <% end %> + <% if @content_item.online_form_links.any? %>

Online

<% @content_item.online_form_links.each do |link| %> @@ -44,11 +49,6 @@ <%= @content_item.email_body %> <% end %> - <% if @content_item.show_webchat? %> -

Webchat

- <%= render 'shared/webchat' %> - <% end %> - <% if @content_item.phone.any? %>

Phone

<% @content_item.phone.each do |phone_group| %>