Skip to content

Commit

Permalink
Move constraints to the top for workflow view
Browse files Browse the repository at this point in the history
This is consistent with the catalog and profile views
  • Loading branch information
jcoyne committed Jun 5, 2020
1 parent 2e21bba commit 34b6d07
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/views/report/workflow_grid.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
<% end %>

<% if has_search_parameters? %>
<%= render 'did_you_mean' %>
<%= render 'constraints', localized_params: params %>
<% content_for(:container_header) do -%>
<h1 class="sr-only top-content-title"><%= t('blacklight.search.header') %></h1>
<%= render 'did_you_mean' %>
<%= render 'constraints' %>
<% end %>
<% end %>

<%= render 'catalog/report_view_toggle' %>
<a href="<%= Settings.robot_status_url %>" target="_blank">Robots queue/job status</a>
<div data-controller="workflow-grid" data-workflow-grid-url="<%= url_for(search_state.to_h) %>" data-workflow-grid-refresh-interval="10000">
Expand Down

0 comments on commit 34b6d07

Please sign in to comment.