Skip to content

Commit

Permalink
rip out feature flag now that we have metadata as html
Browse files Browse the repository at this point in the history
  • Loading branch information
mejackreed committed Nov 15, 2017
1 parent b168b38 commit 8394518
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
22 changes: 10 additions & 12 deletions app/views/catalog/_metadata_button_default.html.erb
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<% if feature_flags.view_all_metadata? %>
<div class='container'>
<div class='row'>
<% # Using the Bootstrap container/row/col structure here to easily get this on its own line %>
<div class='col-md-12'>
<%= link_to 'View all metadata »',
metadata_exhibit_solr_document_path(current_exhibit, document),
data: { ajax_modal: 'trigger' },
class: 'btn btn-default'
%>
</div>
<div class='container'>
<div class='row'>
<% # Using the Bootstrap container/row/col structure here to easily get this on its own line %>
<div class='col-md-12'>
<%= link_to 'View all metadata »',
metadata_exhibit_solr_document_path(current_exhibit, document),
data: { ajax_modal: 'trigger' },
class: 'btn btn-default'
%>
</div>
</div>
<% end %>
</div>
1 change: 0 additions & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ feature_flags:
bibliography_resource: false
index_related_content: false # A feature that will index related SDR content. Initial implemented for Parker's IIIF AnnotationLists
add_resource_type_index_field: false # Should the resource type field be added as an index/show field. For some exhibits this is desirable
view_all_metadata: false # Turns on the show page button to "View all metadata"
traject:
processing_thread_pool: 1
iiif_dnd_base_url: https://library.stanford.edu/projects/international-image-interoperability-framework/viewers?%{query}
Expand Down
1 change: 0 additions & 1 deletion config/settings/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ feature_flags:
test_thing: true
index_related_content: true
add_resource_type_index_field: true
view_all_metadata: true

0 comments on commit 8394518

Please sign in to comment.