Skip to content

Commit

Permalink
Remove the beta banner from taxonomy navigation pages
Browse files Browse the repository at this point in the history
* We are rolling out taxonomy navigation as the live variant on certain
pages, meaning it’s no longer a test version
* The survey in it’s current form on these pages isn’t required. A new
survey will be used on newer test variants
* The AB test has been disabled
  • Loading branch information
fofr committed Nov 3, 2017
1 parent 9d75244 commit 944502f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions app/views/shared/_breadcrumbs.html+taxonomy_navigation.erb
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
<% if @content_item.taxon_breadcrumbs.any? %>
<%=
render(
partial: 'govuk_component/beta_label',
locals: {
message: <<-MESSAGE
This is a test version of the layout of this page.
<a id=taxonomy-survey
href='https://www.smartsurvey.co.uk/s/betasurvey2017?c=#{current_path_without_query_string}'
target='_blank'
rel='noopener noreferrer'>
Take the survey to help us improve it
</a>
MESSAGE
}
)
%>
<%= render 'govuk_component/breadcrumbs',
breadcrumbs: @content_item.taxon_breadcrumbs,
collapse_on_mobile: true %>
Expand Down

0 comments on commit 944502f

Please sign in to comment.