Skip to content

Commit 33155d1

Browse files
committed
Merge pull request alphagov#2141 from alphagov/remove-featured-topics-and-policies
Remove 'Featured topics and policies' region
2 parents 859dfe9 + d9d0a3c commit 33155d1

File tree

3 files changed

+1
-153
lines changed

3 files changed

+1
-153
lines changed

app/views/organisations/show-promotional.html.erb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,7 @@
3131
<div class="inner-block floated-children">
3232
<% if @organisation.featured_topics_and_policies_list %>
3333
<section id="featured-topics-and-policies" class="promo">
34-
<div class="content">
35-
<h2>Featured topics and policies</h2>
36-
<% if @organisation.featured_topics_and_policies_list_summary.present? %>
37-
<p class="description"><%= format_with_html_line_breaks(@organisation.featured_topics_and_policies_list_summary) %></p>
38-
<% end %>
39-
<%= render_featured_topics_and_policies_list(@organisation.featured_topics_and_policies_list) %>
40-
<p><%= link_to_all_featured_policies @organisation %></p>
41-
</div>
34+
<div class="content"></div>
4235
</section>
4336
<% else %>
4437
<section id="what-we-do" class="promo">

features/featured-topics-and-policies-on-an-org.feature

Lines changed: 0 additions & 32 deletions
This file was deleted.

features/step_definitions/featured_topics_and_policies_steps.rb

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)