-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate the start_over partial. Render the component instead
- Loading branch information
Showing
3 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
app/components/blacklight/search_context/server_applied_params_component.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div id="appliedParams" class="clearfix constraints-container"> | ||
<%= render 'start_over' %> | ||
<%= start_over %> | ||
<%= link_back_to_catalog class: 'btn btn-outline-secondary' %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<%= render Blacklight::StartOverButtonComponent.new %> | ||
<% Blacklight.deprecation.warn('The partial _start_over.html.erb will be removed in Blacklight 9.0.') unless local_assigns[:silence_deprecation] %> | ||
<%= render start_over_component.new %> |