Skip to content

Commit ee8b2de

Browse files
[SRCH-6115] remove access to features that we plan to discontinue. (#1863)
* [SRCH-6115] In customer admin center, remove access to features that we plan to discontinue. --------- Co-authored-by: Luis Metzger <luismetzger@me.com>
1 parent 8711c59 commit ee8b2de

File tree

20 files changed

+61
-210271
lines changed

20 files changed

+61
-210271
lines changed

app/helpers/navigations_helper.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ def link_to_navigable_facet_type(nav)
1313
case nav.navigable_facet_type
1414
when 'DocumentCollection'
1515
link_to('Collection', edit_site_collection_path(nav.navigable.affiliate, nav.navigable))
16-
when 'YouTube'
17-
link_to('YouTube', site_youtube_channels_path(nav.navigable.owner))
18-
when 'RSS'
19-
link_to('RSS', edit_site_rss_feed_path(nav.navigable.owner, nav.navigable))
2016
when 'ImageSearchLabel'
2117
build_image_search_navigable_label nav.navigable
2218
end

app/helpers/sites_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def site_analytics_controllers
126126
def site_manage_content_controllers
127127
%w[boosted_contents boosted_contents_bulk_uploads
128128
contents document_collections routed_queries excluded_urls
129-
flickr_profiles indexed_documents rss_feeds
129+
flickr_profiles indexed_documents
130130
site_domains site_feed_urls i14y_drawers
131131
youtube_profiles featured_collections]
132132
end

app/views/admin/home/index.html.haml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
%ul
55
%li=link_to("Users", admin_users_path)
66
%li=link_to("Sites", admin_affiliates_path)
7-
%li=link_to('Rss Feeds', admin_rss_feeds_path)
87
%li=link_to('Rss Feed Urls', admin_rss_feed_urls_path)
98
%li=link_to("System Alerts", admin_system_alerts_path)
109
%li=link_to("Excluded Domains", admin_excluded_domains_path)

app/views/sites/contents/show.html.haml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@
2727
%li.content-item.routed-queries
2828
= link_to site_routed_queries_path(@site) do
2929
%span.no-icon Routed Queries
30-
%li.content-item.rss
31-
= link_to site_rss_feeds_path(@site) do
32-
= image_tag 'sites/rss_logo.png', alt: 'YouTube logo', style: 'text-align: center'
33-
%div.name RSS
34-
%li.content-item.youtube
35-
= link_to site_youtube_channels_path(@site) do
36-
= image_tag 'sites/youtube_logo.png', alt: 'YouTube logo'
37-
%div.name YouTube
38-
%li.content-item.flickr
39-
= link_to site_flickr_urls_path(@site) do
40-
= image_tag 'sites/flickr_logo.png', alt: 'Flickr logo'
41-
%div.name Flickr
4230

4331
= form_tag site_autodiscovery_path(@site), id: 'autodiscovery'
4432
= label_tag :autodiscovery_url, 'Discover and add the RSS feeds and social media accounts listed on the following page:'

app/views/sites/embed_codes/show.html.haml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,4 @@
99
= find_and_preserve do
1010
= render 'form_embed_code_text_area'
1111

12-
%h3 Type-ahead search and Search.gov Tag Snippet
13-
= find_and_preserve do
14-
= render 'bottom_page_embed_code_text_area'
1512

app/views/sites/excluded_urls/index.html.haml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
.action-bar
55
%ul
66
= list_item_with_link_to_current_help_page
7-
= render 'sites/shared/domains_advanced_options'
87
%li= link_to 'Add Filter URL', new_site_filter_url_path(@site)
98

109
= render_flash_message

app/views/sites/indexed_documents/index.html.haml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
.action-bar
55
%ul
66
= list_item_with_link_to_current_help_page
7-
= render 'sites/shared/domains_advanced_options'
87
%li= link_to 'Add Supplemental URL', new_site_supplemental_url_path(@site)
98

109
= render_flash_message

app/views/sites/shared/_domains_advanced_options.html.haml

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

app/views/sites/shared/_manage_content_sub_nav.html.haml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,3 @@
88
%li{ site_nav_css_class_hash(*%w(boosted_contents boosted_contents_bulk_uploads)) }= link_to 'Best Bets: Text', site_best_bets_texts_path(@site)
99
%li{ site_nav_css_class_hash('featured_collections') }= link_to 'Best Bets: Graphics', site_best_bets_graphics_path(@site)
1010
%li{ site_nav_css_class_hash('routed_queries') }= link_to 'Routed Queries', site_routed_queries_path(@site)
11-
%li{ site_nav_css_class_hash('rss_feeds') }= link_to 'RSS', site_rss_feeds_path(@site)
12-
%li{ site_nav_css_class_hash('youtube_profiles') }= link_to 'YouTube', site_youtube_channels_path(@site)
13-
%li{ site_nav_css_class_hash('flickr_profiles') }= link_to 'Flickr', site_flickr_urls_path(@site)

app/views/sites/site_domains/index.html.haml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
.action-bar
55
%ul
66
= list_item_with_link_to_current_help_page
7-
= render 'sites/shared/domains_advanced_options'
87
%li= link_to 'Add Domain', new_site_domain_path(@site)
98

109
= render_flash_message

0 commit comments

Comments
 (0)