blacklight-spotlight 5.3.2 → 6.0.0.rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -4
  3. data/Rakefile +1 -2
  4. data/app/assets/javascripts/spotlight/spotlight.esm.js +2168 -4560
  5. data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
  6. data/app/assets/javascripts/spotlight/spotlight.js +2167 -4559
  7. data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
  8. data/app/assets/stylesheets/spotlight/_blacklight_overrides.scss +4 -0
  9. data/app/assets/stylesheets/spotlight/_browse.scss +0 -4
  10. data/app/assets/stylesheets/spotlight/{_collapse_toggle.scss → _collapse_toggle.css} +2 -2
  11. data/app/assets/stylesheets/spotlight/_exhibit_admin.scss +8 -0
  12. data/app/assets/stylesheets/spotlight/_exhibits_index.scss +2 -1
  13. data/app/assets/stylesheets/spotlight/_footer.scss +2 -2
  14. data/app/assets/stylesheets/spotlight/_header.scss +8 -8
  15. data/app/assets/stylesheets/spotlight/_pages.scss +1 -1
  16. data/app/assets/stylesheets/spotlight/_slideshow_block.scss +15 -0
  17. data/app/assets/stylesheets/spotlight/_spotlight.scss +1 -1
  18. data/app/assets/stylesheets/spotlight/_translations.scss +3 -3
  19. data/app/assets/stylesheets/spotlight/_uploaded_items_block.css +7 -0
  20. data/app/assets/stylesheets/spotlight/_variables.css +15 -0
  21. data/app/assets/stylesheets/spotlight/browse_group_categories_block.scss +0 -76
  22. data/app/components/blacklight/icons/pause_component.rb +15 -0
  23. data/app/components/blacklight/icons/play_arrow_component.rb +15 -0
  24. data/app/components/spotlight/analytics/dashboard_component.html.erb +1 -1
  25. data/app/components/spotlight/custom_field_form_group_component.rb +40 -0
  26. data/app/components/spotlight/document_admin_table_component.html.erb +2 -2
  27. data/app/components/spotlight/edit_sidecar_component.html.erb +18 -0
  28. data/app/components/spotlight/edit_sidecar_component.rb +41 -0
  29. data/app/components/spotlight/masthead_component.html.erb +18 -0
  30. data/app/components/spotlight/masthead_component.rb +46 -0
  31. data/app/components/spotlight/save_search_component.html.erb +1 -1
  32. data/app/components/spotlight/sidecar_form_field_component.html.erb +18 -0
  33. data/app/components/spotlight/sidecar_form_field_component.rb +71 -0
  34. data/app/components/spotlight/solr_document_legacy_embed_component.html.erb +0 -4
  35. data/app/components/spotlight/solr_document_legacy_embed_component.rb +2 -2
  36. data/app/components/spotlight/tag_selector_component.html.erb +1 -1
  37. data/app/components/spotlight/tag_selector_component.rb +3 -2
  38. data/app/components/spotlight/upload_field_form_group_component.rb +33 -0
  39. data/app/controllers/concerns/spotlight/controller.rb +15 -14
  40. data/app/controllers/concerns/spotlight/search_helper.rb +2 -5
  41. data/app/controllers/spotlight/browse_controller.rb +1 -6
  42. data/app/controllers/spotlight/catalog_controller.rb +2 -3
  43. data/app/controllers/spotlight/concerns/application_controller.rb +4 -6
  44. data/app/controllers/spotlight/exhibits_controller.rb +22 -10
  45. data/app/controllers/spotlight/lock_controller.rb +1 -1
  46. data/app/controllers/spotlight/pages_controller.rb +11 -11
  47. data/app/controllers/spotlight/resources/upload_controller.rb +1 -1
  48. data/app/controllers/spotlight/resources_controller.rb +1 -1
  49. data/app/controllers/spotlight/solr_controller.rb +5 -1
  50. data/app/helpers/spotlight/application_helper.rb +14 -26
  51. data/app/helpers/spotlight/crud_link_helpers.rb +0 -12
  52. data/app/helpers/spotlight/main_app_helpers.rb +2 -2
  53. data/app/javascript/spotlight/admin/add_another.js +37 -25
  54. data/app/javascript/spotlight/admin/add_image_selector.js +43 -26
  55. data/app/javascript/spotlight/admin/add_new_button.js +51 -36
  56. data/app/javascript/spotlight/admin/blacklight_configuration.js +76 -54
  57. data/app/javascript/spotlight/admin/block_mixins/autocompleteable.js +102 -101
  58. data/app/javascript/spotlight/admin/block_mixins/formable.js +91 -75
  59. data/app/javascript/spotlight/admin/block_mixins/plustextable.js +46 -48
  60. data/app/javascript/spotlight/admin/blocks/block.js +27 -28
  61. data/app/javascript/spotlight/admin/blocks/browse_block.js +14 -10
  62. data/app/javascript/spotlight/admin/blocks/browse_group_categories_block.js +14 -10
  63. data/app/javascript/spotlight/admin/blocks/pages_block.js +5 -4
  64. data/app/javascript/spotlight/admin/blocks/resources_block.js +61 -41
  65. data/app/javascript/spotlight/admin/blocks/search_result_block.js +24 -7
  66. data/app/javascript/spotlight/admin/blocks/solr_documents_base_block.js +103 -50
  67. data/app/javascript/spotlight/admin/blocks/solr_documents_carousel_block.js +50 -26
  68. data/app/javascript/spotlight/admin/blocks/solr_documents_features_block.js +47 -23
  69. data/app/javascript/spotlight/admin/blocks/uploaded_items_block.js +35 -19
  70. data/app/javascript/spotlight/admin/crop.js +146 -66
  71. data/app/javascript/spotlight/admin/croppable.js +5 -4
  72. data/app/javascript/spotlight/admin/croppable_modal.js +67 -32
  73. data/app/javascript/spotlight/admin/edit_in_place.js +69 -54
  74. data/app/javascript/spotlight/admin/exhibits.js +92 -45
  75. data/app/javascript/spotlight/admin/form_observer.js +92 -78
  76. data/app/javascript/spotlight/admin/multi_image_selector.js +201 -153
  77. data/app/javascript/spotlight/admin/pages.js +13 -7
  78. data/app/javascript/spotlight/admin/progress_monitor.js +65 -50
  79. data/app/javascript/spotlight/admin/readonly_checkbox.js +7 -3
  80. data/app/javascript/spotlight/admin/search_typeahead.js +20 -11
  81. data/app/javascript/spotlight/admin/select_related_input.js +23 -23
  82. data/app/javascript/spotlight/admin/serialize_json.js +120 -0
  83. data/app/javascript/spotlight/admin/sir-trevor/block_controls.js +24 -11
  84. data/app/javascript/spotlight/admin/sir-trevor/block_limits.js +9 -6
  85. data/app/javascript/spotlight/admin/sir-trevor/locales.js +2 -2
  86. data/app/javascript/spotlight/admin/spotlight_nestable.js +2 -5
  87. data/app/javascript/spotlight/admin/translation_progress.js +18 -13
  88. data/app/javascript/spotlight/admin/users.js +151 -64
  89. data/app/javascript/spotlight/user/carousel.js +104 -32
  90. data/app/javascript/spotlight/user/clear_form_button.js +24 -14
  91. data/app/javascript/spotlight/user/index.js +0 -2
  92. data/app/javascript/spotlight/user/zpr_links.js +99 -40
  93. data/app/jobs/concerns/spotlight/gather_documents.rb +1 -1
  94. data/app/jobs/spotlight/add_uploads_from_csv.rb +31 -8
  95. data/app/jobs/spotlight/cleanup_job_trackers_job.rb +5 -3
  96. data/app/models/concerns/spotlight/access_controls_enforcement_search_builder.rb +13 -2
  97. data/app/models/concerns/spotlight/browse_category_search_builder.rb +3 -3
  98. data/app/models/concerns/spotlight/exhibit_documents.rb +2 -2
  99. data/app/models/concerns/spotlight/sitemap.rb +2 -2
  100. data/app/models/concerns/spotlight/solr_document/finder.rb +2 -2
  101. data/app/models/concerns/spotlight/solr_document.rb +1 -47
  102. data/app/models/sir_trevor_rails/blocks/browse_block.rb +0 -4
  103. data/app/models/sir_trevor_rails/blocks/solr_documents_block.rb +2 -1
  104. data/app/models/spotlight/blacklight_configuration.rb +5 -3
  105. data/app/models/spotlight/contact_email.rb +2 -2
  106. data/app/models/spotlight/custom_field.rb +17 -0
  107. data/app/models/spotlight/exhibit.rb +28 -0
  108. data/app/models/spotlight/featured_image.rb +1 -1
  109. data/app/models/spotlight/field_metadata.rb +10 -5
  110. data/app/models/spotlight/job_tracker.rb +0 -18
  111. data/app/models/spotlight/main_navigation.rb +2 -2
  112. data/app/models/spotlight/page.rb +3 -3
  113. data/app/models/spotlight/resources/iiif_harvester.rb +7 -4
  114. data/app/models/spotlight/resources/iiif_manifest.rb +0 -4
  115. data/app/models/spotlight/resources/iiif_manifest_metadata.rb +1 -3
  116. data/app/models/spotlight/resources/iiif_service.rb +21 -6
  117. data/app/models/spotlight/resources/upload.rb +6 -0
  118. data/app/models/spotlight/search.rb +5 -9
  119. data/app/models/spotlight/solr_document_sidecar.rb +18 -0
  120. data/app/services/spotlight/bulk_updates_csv_template_service.rb +1 -1
  121. data/app/services/spotlight/etl/pipeline.rb +2 -2
  122. data/app/services/spotlight/etl/step.rb +2 -2
  123. data/app/views/catalog/_remove_tags.html.erb +2 -2
  124. data/app/views/layouts/spotlight/base.html.erb +3 -6
  125. data/app/views/layouts/spotlight/spotlight.html.erb +2 -2
  126. data/app/views/shared/_analytics.html.erb +4 -3
  127. data/app/views/shared/_masthead.html.erb +2 -18
  128. data/app/views/spotlight/about_pages/_empty.html.erb +1 -1
  129. data/app/views/spotlight/about_pages/_sidebar.html.erb +10 -8
  130. data/app/views/spotlight/browse/_search.html.erb +2 -2
  131. data/app/views/spotlight/browse/_search_box.html.erb +6 -14
  132. data/app/views/spotlight/browse/index.html.erb +1 -1
  133. data/app/views/spotlight/browse/show.html.erb +1 -1
  134. data/app/views/spotlight/catalog/_document_admin_table.html.erb +1 -1
  135. data/app/views/spotlight/catalog/_edit_default.html.erb +1 -1
  136. data/app/views/spotlight/catalog/edit.html.erb +1 -1
  137. data/app/views/spotlight/dashboards/_page.html.erb +1 -1
  138. data/app/views/spotlight/exhibits/_exhibit_card.html.erb +3 -1
  139. data/app/views/spotlight/exhibits/_export.html.erb +17 -1
  140. data/app/views/spotlight/exhibits/_form.html.erb +20 -4
  141. data/app/views/spotlight/exhibits/_missing_exhibits.html.erb +3 -3
  142. data/app/views/spotlight/exhibits/index.html.erb +21 -8
  143. data/app/views/spotlight/feature_pages/_empty.html.erb +1 -1
  144. data/app/views/spotlight/feature_pages/_sidebar.html.erb +17 -15
  145. data/app/views/spotlight/home_pages/_empty.html.erb +7 -7
  146. data/app/views/spotlight/pages/show.html.erb +1 -0
  147. data/app/views/spotlight/resources/upload/_form.html.erb +2 -2
  148. data/app/views/spotlight/sir_trevor/blocks/_browse_group_categories_block.html.erb +5 -16
  149. data/app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb +3 -5
  150. data/app/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb +1 -1
  151. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +11 -2
  152. data/app/views/spotlight/sites/_exhibit.html.erb +1 -1
  153. data/config/i18n-tasks.yml +1 -1
  154. data/config/locales/spotlight.ar.yml +1 -2
  155. data/config/locales/spotlight.de.yml +1 -2
  156. data/config/locales/spotlight.en.yml +39 -10
  157. data/config/locales/spotlight.es.yml +1 -2
  158. data/config/locales/spotlight.fr.yml +1 -2
  159. data/config/locales/spotlight.it.yml +1 -2
  160. data/config/locales/spotlight.ja.yml +39 -0
  161. data/config/locales/spotlight.zh.yml +1 -2
  162. data/db/migrate/20261007133748_add_discovery_enabled_to_spotlight_exhibits.rb +5 -0
  163. data/lib/generators/spotlight/assets/importmap_generator.rb +2 -10
  164. data/lib/generators/spotlight/assets/propshaft_generator.rb +5 -4
  165. data/lib/generators/spotlight/install_generator.rb +2 -4
  166. data/lib/generators/spotlight/templates/catalog_controller.rb +0 -1
  167. data/lib/generators/spotlight/templates/config/initializers/spotlight_initializer.rb +26 -4
  168. data/lib/generators/spotlight/templates/solr/conf/schema.xml +4 -3
  169. data/lib/generators/spotlight/templates/solr/conf/solrconfig.xml +3 -8
  170. data/lib/migration/page_language.rb +0 -2
  171. data/lib/spotlight/engine.rb +28 -9
  172. data/lib/spotlight/search_state.rb +7 -11
  173. data/lib/spotlight/upload_field_config.rb +19 -1
  174. data/lib/spotlight/version.rb +1 -1
  175. data/lib/spotlight.rb +1 -1
  176. data/spec/support/features/capybara_wait_metadata_helper.rb +3 -1
  177. data/spec/support/features/test_features_helpers.rb +24 -1
  178. data/spec/support/iiif_manifest_fixtures.rb +33 -0
  179. data/spec/support/stub_dns_resolution.rb +12 -0
  180. metadata +50 -80
  181. data/app/assets/stylesheets/spotlight/_uploaded_items_block.scss +0 -7
  182. data/app/assets/stylesheets/spotlight/_variables.scss +0 -13
  183. data/app/components/blacklight/icons/arrow_alt_circle_left_component.rb +0 -15
  184. data/app/components/blacklight/icons/arrow_alt_circle_right_component.rb +0 -15
  185. data/app/components/blacklight/icons/info_component.rb +0 -15
  186. data/app/components/blacklight/icons/zoom_in_component.rb +0 -15
  187. data/app/components/blacklight/icons/zoom_out_component.rb +0 -15
  188. data/app/components/spotlight/icon_component.rb +0 -13
  189. data/app/javascript/spotlight/user/browse_group_categories.js +0 -54
  190. data/app/mailers/spotlight/invitation_mailer.rb +0 -21
  191. data/app/models/concerns/spotlight/resources/web.rb +0 -38
  192. data/app/services/spotlight/iiif_resource_resolver.rb +0 -78
  193. data/app/views/catalog/_image_default.html.erb +0 -6
  194. data/app/views/shared/_exhibit_navbar.html.erb +0 -2
  195. data/app/views/shared/_header_navbar.html.erb +0 -6
  196. data/app/views/spotlight/catalog/_admin_index_header_default.html.erb +0 -23
  197. data/app/views/spotlight/catalog/_admin_thumbnail_default.html.erb +0 -7
  198. data/app/views/spotlight/catalog/_curation_mode_toggle_default.html.erb +0 -1
  199. data/app/views/spotlight/catalog/_document_row.html.erb +0 -2
  200. data/app/views/spotlight/catalog/_edit_sidecar.html.erb +0 -24
  201. data/app/views/spotlight/catalog/_index_compact_default.html.erb +0 -21
  202. data/app/views/spotlight/custom_fields/form_group/_text.html.erb +0 -23
  203. data/app/views/spotlight/custom_fields/form_group/_vocab.html.erb +0 -23
  204. data/app/views/spotlight/invitation_mailer/exhibit_invitation_notification.html.erb +0 -12
  205. data/lib/generators/spotlight/templates/javascript/jquery-shim.js +0 -1
  206. data/vendor/assets/javascripts/tiny-slider.js +0 -3221
  207. data/vendor/assets/stylesheets/tiny-slider.css +0 -1
  208. /data/app/assets/stylesheets/spotlight/{_breadcrumbs.scss → _breadcrumbs.css} +0 -0
  209. /data/app/assets/stylesheets/spotlight/{_croppable.scss → _croppable.css} +0 -0
  210. /data/app/assets/stylesheets/spotlight/{_modals.scss → _modals.css} +0 -0
  211. /data/app/assets/stylesheets/spotlight/{_utilities.scss → _utilities.css} +0 -0
@@ -7,7 +7,7 @@
7
7
  <%= render 'search_title', search: @search %>
8
8
  <% end %>
9
9
  <% else %>
10
- <h1><%= render 'search_title', search: @search %></h1>
10
+ <h2 class='h1'><%= render 'search_title', search: @search %></h2>
11
11
  <% end %>
12
12
  <% if @search.long_description.present? %>
13
13
  <div class="long-description-text <%= 'very-long-description-text' if @search.long_description.length > 600 %>">
@@ -3,7 +3,7 @@
3
3
  <table id="documents" class="table">
4
4
  <thead>
5
5
  <tr>
6
- <th class="thumbnail-column"></th>
6
+ <th scope="col" class="thumbnail-column"><span class="visually-hidden"><%= t(:'spotlight.catalog.document_admin_table.thumbnail') %></span></th>
7
7
  <th scope="col"><%= t(:'spotlight.catalog.fields.title') %></th>
8
8
  <th scope="col" class="text-nowrap"><%= t(:'spotlight.catalog.fields.date_added') %></th>
9
9
  <th scope="col" class="checkbox-toggle"><%= t(:'spotlight.catalog.fields.visibility') %></th>
@@ -9,7 +9,7 @@
9
9
  <%= r.url_field :url, type: "file", help: t('.url-field.help', extensions: Spotlight::Engine.config.allowed_upload_extensions.join(' ')), label: "File" %>
10
10
  <% end if document.uploaded_resource? %>
11
11
 
12
- <%= render partial: 'edit_sidecar', locals: { document: document, f: f } %>
12
+ <%= render Spotlight::EditSidecarComponent.new(form: f, document: document, exhibit: current_exhibit) %>
13
13
 
14
14
  <% if can? :tag, current_exhibit %>
15
15
  <div class="edit-tags">
@@ -1,7 +1,7 @@
1
1
  <div class="container">
2
2
  <div class="row">
3
3
  <%- view_config = blacklight_config.view_config(action_name: :edit) %>
4
- <%= render (view_config.document_component || Blacklight::DocumentComponent).new(document: document_presenter(@document), classes: ['col-md-8'], component: :div, show: true, partials: view_config.partials) do |component| %>
4
+ <%= render (view_config.document_component || Blacklight::DocumentComponent).new(document: document_presenter(@document), id: 'document', classes: ['col-md-8'], component: :div, show: true, partials: view_config.partials) do |component| %>
5
5
  <% component.with_title(as: 'h1', classes: '', link_to_document: false) %>
6
6
  <% end %>
7
7
  <div class="col-md-4">
@@ -1,6 +1,6 @@
1
1
  <tr class="d-flex">
2
2
  <td class="col-6">
3
- <h4 class="h5 mb-0"><%= page.title %></h4>
3
+ <h3 class="h5 mb-0"><%= page.title %></h3>
4
4
  <%= render Spotlight::EditViewLinksComponent.new(page:, classes: 'page-links pt-0') %>
5
5
  </td>
6
6
  <td class="col-4"><%= page.last_edited_by.to_s if page.last_edited_by %></td>
@@ -8,8 +8,10 @@
8
8
  <% end %>
9
9
  <% end %>
10
10
  <div class="card-img-overlay pb-0">
11
- <% unless exhibit.published? %>
11
+ <% if !exhibit.published? %>
12
12
  <div class="badge bg-warning unpublished"><%= t('.unpublished') %></div>
13
+ <% elsif exhibit.previewable? %>
14
+ <div class="badge bg-info previewable"><%= t('.previewable') %></div>
13
15
  <% end %>
14
16
 
15
17
  <%= content_tag :h2, class: 'card-title h5 text-center', aria: { describedby: "exhibit-description-#{exhibit.to_param}" } do %>
@@ -1,6 +1,22 @@
1
1
  <div role="tabpanel" class="tab-pane <%= 'active' if @tab == 'export' %>" id="export">
2
2
  <div class="row col-md-12">
3
- <p class="instructions"><%= t :'.instructions' %></p>
3
+ <div class="instructions">
4
+ <p><%= t :'.instructions_1' %></p>
5
+ <p><%= t :'.instructions_2' %></p>
6
+
7
+ <p><b><%= t :'.configurations_intro' %></b></p>
8
+ <% if Spotlight::Engine.config.exports.present? %>
9
+ <ul>
10
+ <% Spotlight::Engine.config.exports.each do |config, value| %>
11
+ <li><%= t ".configurations.#{config}_html", config: (value ? blacklight_icon('check', aria_hidden: true, classes: 'export-config-enabled') : blacklight_icon('close', aria_hidden: true, classes: 'export-config-disabled')) + value.to_s.capitalize %></li>
12
+ <% end %>
13
+ </ul>
14
+ <% else %>
15
+ <p><%= t :'.no_configurations' %></p>
16
+ <% end %>
17
+ <p><%= t :'.instructions_3' %></p>
18
+ </div>
19
+
4
20
  <div class="primary-actions">
5
21
  <%= link_to t(:'.download'), get_exhibit_path(current_exhibit, format: 'json'), class: 'btn btn-primary' %>
6
22
  </div>
@@ -11,10 +11,26 @@
11
11
  <button id="another-email" class="btn btn-sm btn-info"><%= t('.add_contact_email_button') %></button>
12
12
  <div class="form-text text-muted mb-3"><%= t(:'.fields.contact_emails.help_block') %></div>
13
13
  <% end %>
14
- <%= f.form_group :published, label: { class: 'pt-0 col-md-2 col-form-label' }, help: nil do %>
15
- <%= f.check_box_without_bootstrap :published %>
16
- <div class="form-text text-muted mb-3"><%= t(:'.fields.published.help_block') %></div>
17
- <% end %>
14
+ <div class="row mb-3">
15
+ <div class="col-form-label col-md-2 pt-0"><%= t(:'.fields.exhibit_link.label') %></div>
16
+ <div class="col-md-10 d-flex align-items-center gap-2" data-controller="clipboard">
17
+ <code class="exhibit-link text-break text-muted" data-clipboard-target="text"><%= spotlight.exhibit_root_url(@exhibit) %></code>
18
+ <button type="button" class="btn btn-sm btn-outline-secondary py-0 copy-exhibit-link" data-action="click->clipboard#copy"><%= t(:'.fields.exhibit_link.copy') %></button>
19
+ </div>
20
+ </div>
21
+ <fieldset class="row mb-3">
22
+ <legend class="col-form-label col-md-2 pt-0"><%= Spotlight::Exhibit.human_attribute_name(:published) %></legend>
23
+ <div class="col-md-10">
24
+ <% Spotlight::Exhibit::PUBLISHING_STATUSES.each do |state| %>
25
+ <div class="form-check mb-2">
26
+ <%= f.radio_button_without_bootstrap :publishing_status, state, class: 'form-check-input', aria: { describedby: "exhibit_#{state}_help" } %>
27
+ <%= f.label "publishing_status_#{state}", t(:".fields.publishing_status.#{state}.label"), class: 'form-check-label' %>
28
+ <div id="exhibit_<%= state %>_help" class="form-text text-muted mt-0"><%= t(:".fields.publishing_status.#{state}.help") %></div>
29
+ </div>
30
+ <% end %>
31
+ <div class="form-text text-muted mb-3"><%= t(:'.fields.publishing_status.help_block') %></div>
32
+ </div>
33
+ </fieldset>
18
34
 
19
35
  <div class="form-actions">
20
36
 
@@ -2,16 +2,16 @@
2
2
  <h2>Welcome to Spotlight!</h2>
3
3
 
4
4
  <% unless current_user %>
5
- <p>In order to create exhibits, you need to <%= link_to t('spotlight.header_links.login'), main_app.new_user_session_path %></p>
5
+ <p>In order to create exhibits, you need to <%= link_to t('spotlight.header_links.login'), main_app.new_user_session_path, class: "alert-link" %></p>
6
6
  <% end %>
7
7
 
8
8
  <% if can? :create, Spotlight::Exhibit %>
9
9
  <p>When you're ready to begin building your exhibit, here's how to get started:</p>
10
10
 
11
11
  <ol>
12
- <li>Visit the <%= link_to "Create Exhibit", new_exhibit_path %> page to create a new exhibit.</li>
12
+ <li>Visit the <%= link_to "Create Exhibit", new_exhibit_path, class: "alert-link" %> page to create a new exhibit.</li>
13
13
 
14
- <li>Visit the Spotlight <%= link_to "documentation pages", "https://github.com/projectblacklight/spotlight/wiki" %> to learn how to add and edit feature pages, about pages, custom browse categories, and more.</li>
14
+ <li>Visit the Spotlight <%= link_to "documentation pages", "https://github.com/projectblacklight/spotlight/wiki", class: "alert-link" %> to learn how to add and edit feature pages, about pages, custom browse categories, and more.</li>
15
15
  </ol>
16
16
  <% end %>
17
17
  </div>
@@ -1,8 +1,13 @@
1
1
  <% if (current_user && current_user.exhibits.any?) || can?(:manage, Spotlight::Exhibit) %>
2
2
  <ul class="nav nav-tabs" role="tablist">
3
3
  <li role="presentation" class="nav-item"><a href="#published" aria-controls="published" role="tab" data-bs-toggle="tab" class="nav-link active"><%= t('.published') %></a></li>
4
- <% if can?(:manage, Spotlight::Exhibit) && @exhibits.unpublished.accessible_by(current_ability).any? %>
5
- <li role="presentation" class="nav-item"><a href="#unpublished" aria-controls="unpublished" role="tab" data-bs-toggle="tab" class="nav-link"><%= t('.unpublished') %></a></li>
4
+ <% if can?(:manage, Spotlight::Exhibit) %>
5
+ <% if @exhibits.previewable.any? %>
6
+ <li role="presentation" class="nav-item"><a href="#previewable" aria-controls="previewable" role="tab" data-bs-toggle="tab" class="nav-link"><%= t('.previewable') %></a></li>
7
+ <% end %>
8
+ <% if @exhibits.unpublished.any? %>
9
+ <li role="presentation" class="nav-item"><a href="#unpublished" aria-controls="unpublished" role="tab" data-bs-toggle="tab" class="nav-link"><%= t('.unpublished') %></a></li>
10
+ <% end %>
6
11
  <% end %>
7
12
  <% if current_user && current_user.exhibits.any? %>
8
13
  <li role="presentation" class="nav-item"><a href="#user" aria-controls="user" role="tab" data-bs-toggle="tab" class="nav-link"><%= t('.user') %></a></li>
@@ -12,10 +17,10 @@
12
17
 
13
18
  <div class="tab-content">
14
19
  <div role="tabpanel" class="tab-pane active" id="published">
15
- <% if @exhibits.published.none? %>
20
+ <% if @exhibits.discoverable.none? %>
16
21
  <%= render 'missing_exhibits' %>
17
22
  <% else %>
18
- <%= render 'tags', tags: @exhibits.published.all_tags %>
23
+ <%= render 'tags', tags: @exhibits.discoverable.all_tags %>
19
24
  <%= render 'exhibits', exhibits: @published_exhibits %>
20
25
 
21
26
  <% if @published_exhibits.total_count > @published_exhibits.size %>
@@ -30,10 +35,18 @@
30
35
 
31
36
  </div>
32
37
 
33
- <% if @exhibits.unpublished.accessible_by(current_ability).any? %>
34
- <div role="tabpanel" class="tab-pane" id="unpublished">
35
- <%= render 'exhibits', exhibits: @exhibits.unpublished.ordered_by_weight.accessible_by(current_ability) %>
36
- </div>
38
+ <% if can?(:manage, Spotlight::Exhibit) %>
39
+ <% if @exhibits.previewable.any? %>
40
+ <div role="tabpanel" class="tab-pane" id="previewable">
41
+ <%= render 'exhibits', exhibits: @exhibits.previewable.ordered_by_weight %>
42
+ </div>
43
+ <% end %>
44
+
45
+ <% if @exhibits.unpublished.any? %>
46
+ <div role="tabpanel" class="tab-pane" id="unpublished">
47
+ <%= render 'exhibits', exhibits: @exhibits.unpublished.ordered_by_weight %>
48
+ </div>
49
+ <% end %>
37
50
  <% end %>
38
51
 
39
52
  <% if current_user && current_user.exhibits.any? %>
@@ -19,7 +19,7 @@
19
19
  Note the <b>Options</b> and <b>Thumbnail</b> tabs at the top of the page in edit mode. Options in these tabs enable you to publish or unpublish the page, turn on or off the page sidebar, and create a thumbnail image to represent the page.
20
20
  </li>
21
21
  <li>
22
- Visit the Spotlight <%= link_to 'documentation pages', 'https://github.com/projectblacklight/spotlight/wiki' %> to learn more about creating exhibit pages.
22
+ Visit the Spotlight <%= link_to 'documentation pages', 'https://github.com/projectblacklight/spotlight/wiki', class: "alert-link" %> to learn more about creating exhibit pages.
23
23
  </li>
24
24
  </ol>
25
25
  </div>
@@ -1,18 +1,20 @@
1
1
  <% cache_unless current_user, [current_exhibit, @page, I18n.locale] do %>
2
- <ol class="nav sidenav flex-column">
3
- <% @exhibit.feature_pages.for_locale.published.at_top_level.each do |feature_section| %>
4
- <li class="<%= 'active' if current_page? [spotlight, @exhibit, feature_section] %>">
5
- <h2 class="h6"><%= link_to_unless_current feature_section.title, [spotlight, @exhibit, feature_section] %></h2>
6
- <% child_pages = feature_section.child_pages.published %>
2
+ <nav aria-label="<%= current_exhibit.main_navigations.curated_features.label_or_default %>">
3
+ <ol class="nav sidenav flex-column">
4
+ <% @exhibit.feature_pages.for_locale.published.at_top_level.each do |feature_section| %>
5
+ <li class="<%= 'active' if current_page? [spotlight, @exhibit, feature_section] %>">
6
+ <%= link_to_unless_current feature_section.title, [spotlight, @exhibit, feature_section] %>
7
+ <% child_pages = feature_section.child_pages.published %>
7
8
 
8
- <% if child_pages.any? %>
9
- <ol class="subsection">
10
- <% child_pages.each do |page| %>
11
- <li class="<%= 'active' if current_page? [spotlight, @exhibit, page] %>"><%= link_to_unless_current page.title, [spotlight, @exhibit, page] %></li>
12
- <% end %>
13
- </ol>
14
- <% end %>
15
- </li>
16
- <% end %>
17
- </ol>
9
+ <% if child_pages.any? %>
10
+ <ol class="subsection">
11
+ <% child_pages.each do |page| %>
12
+ <li class="<%= 'active' if current_page? [spotlight, @exhibit, page] %>"><%= link_to_unless_current page.title, [spotlight, @exhibit, page] %></li>
13
+ <% end %>
14
+ </ol>
15
+ <% end %>
16
+ </li>
17
+ <% end %>
18
+ </ol>
19
+ </nav>
18
20
  <% end %>
@@ -2,7 +2,7 @@
2
2
  <h2>Welcome to your new exhibit!</h2>
3
3
 
4
4
  <% unless current_user %>
5
- <p>In order to curate exhibit content, you need to <%= link_to t('spotlight.header_links.login'), main_app.new_user_session_path %></p>
5
+ <p>In order to curate exhibit content, you need to <%= link_to t('spotlight.header_links.login'), main_app.new_user_session_path, class: "alert-link" %></p>
6
6
  <% end %>
7
7
 
8
8
  <% if can? :edit, @page %>
@@ -10,24 +10,24 @@
10
10
 
11
11
  <ol>
12
12
  <% if can? :update, current_exhibit %>
13
- <li>Visit the <%= link_to "Configuration > General", edit_exhibit_path(current_exhibit) %> page to configure the exhibit title and subtitle.</li>
13
+ <li>Visit the <%= link_to "Configuration > General", edit_exhibit_path(current_exhibit), class: "alert-link" %> page to configure the exhibit title and subtitle.</li>
14
14
 
15
- <li>Next, go to the <%= link_to "Configuration > Appearance", edit_exhibit_appearance_path(current_exhibit) %> page to add a site masthead image and configure other appearance options.</li>
15
+ <li>Next, go to the <%= link_to "Configuration > Appearance", edit_exhibit_appearance_path(current_exhibit), class: "alert-link" %> page to add a site masthead image and configure other appearance options.</li>
16
16
  <% end %>
17
17
 
18
18
  <% if can? :manage, Spotlight::Role.new(resource: current_exhibit) %>
19
- <li>If you want help building the exhibit, use the <%= link_to "Configuration > Users", exhibit_roles_path(current_exhibit) %> page to add other user accounts.</li>
19
+ <li>If you want help building the exhibit, use the <%= link_to "Configuration > Users", exhibit_roles_path(current_exhibit), class: "alert-link" %> page to add other user accounts.</li>
20
20
  <% end %>
21
21
 
22
22
  <% if Spotlight::Engine.config.resource_partials.any? %>
23
- <li>Add items to the exhibit. Go to the <%= link_to "Curation > Items", admin_exhibit_catalog_path(current_exhibit) %> page and select <b>Add items</b>. You can add items individually or in bulk via a CSV file.</li>
23
+ <li>Add items to the exhibit. Go to the <%= link_to "Curation > Items", admin_exhibit_catalog_path(current_exhibit), class: "alert-link" %> page and select <b>Add items</b>. You can add items individually or in bulk via a CSV file.</li>
24
24
  <% end %>
25
25
 
26
26
  <% if can? :update, current_exhibit.blacklight_configuration %>
27
- <li>Use the other curation pages, such as <%= link_to "Curation > Metadata", edit_exhibit_metadata_configuration_path(current_exhibit) %> and <%= link_to "Curation > Search", edit_exhibit_search_configuration_path(current_exhibit) %>, to customize the way various features are presented to exhibit visitors.</li>
27
+ <li>Use the other curation pages, such as <%= link_to "Curation > Metadata", edit_exhibit_metadata_configuration_path(current_exhibit), class: "alert-link" %> and <%= link_to "Curation > Search", edit_exhibit_search_configuration_path(current_exhibit), class: "alert-link" %>, to customize the way various features are presented to exhibit visitors.</li>
28
28
  <% end %>
29
29
 
30
- <li>Visit the Spotlight <%= link_to "documentation pages", "https://github.com/projectblacklight/spotlight/wiki" %> to learn how to add and edit feature pages, about pages, custom browse categories, and more.</li>
30
+ <li>Visit the Spotlight <%= link_to "documentation pages", "https://github.com/projectblacklight/spotlight/wiki", class: "alert-link" %> to learn how to add and edit feature pages, about pages, custom browse categories, and more.</li>
31
31
  </ol>
32
32
  <% end %>
33
33
  </div>
@@ -1,5 +1,6 @@
1
1
  <% set_html_page_title @page.title if @page.should_display_title? %>
2
2
  <% add_page_meta_content(@page) %>
3
+ <%= content_for(:no_content_label, 'true') %>
3
4
 
4
5
  <% content_for(:sidebar) do %>
5
6
  <%= render 'sidebar' %>
@@ -2,11 +2,11 @@
2
2
  <%= f.url_field :url, type: "file", help: t('.url-field.help', extensions: Spotlight::Engine.config.allowed_upload_extensions.join(' ')), label: "File" %>
3
3
  <%= f.fields_for :data do |d| %>
4
4
  <% Spotlight::Resources::Upload.fields(current_exhibit).each do |config| %>
5
- <%= d.send(config.form_field_type, config.field_name, label: uploaded_field_label(config)) %>
5
+ <%= render Spotlight::UploadFieldFormGroupComponent.new(form: d, config:, inline: true) %>
6
6
  <% end %>
7
7
 
8
8
  <% current_exhibit.custom_fields.each do |custom_field| %>
9
- <%= render partial: "spotlight/custom_fields/form_group/#{custom_field.field_type}", locals: { inline: true, f: d, field: custom_field, value: nil } %>
9
+ <%= render Spotlight::CustomFieldFormGroupComponent.new(form: d, field: custom_field, inline: true) %>
10
10
  <% end %>
11
11
  <% end %>
12
12
  <div class="form-actions">
@@ -1,6 +1,6 @@
1
1
  <% if browse_group_categories_block.groups? %>
2
2
  <% browse_group_categories_block.groups.each do |group| %>
3
- <div class="browse-group-categories-block" data-browse-group-categories-count="<%= group.searches.count %>">
3
+ <div class="browse-group-categories-block">
4
4
  <div class="d-flex flex-column flex-md-row py-2">
5
5
  <div class="d-flex justify-content-between align-items-baseline">
6
6
  <h2 class="m-0"><%= group.title %></h2>
@@ -8,21 +8,11 @@
8
8
  <%= link_to t(:'.view_all'), exhibit_browse_groups_path(current_exhibit, group) %>
9
9
  </div>
10
10
  </div>
11
- <% if group.searches.count > 1 %>
12
- <ul class="browse-group-categories-controls p-0 pt-2 pt-md-0 ms-md-auto mb-0 d-flex justify-content-center align-items-end">
13
- <li class="prev px-1 overflow-hidden">
14
- <%= blacklight_icon 'arrow_alt_circle_left' %>
15
- </li>
16
- <li class="next px-1 overflow-hidden">
17
- <%= blacklight_icon 'arrow_alt_circle_right' %>
18
- </li>
19
- </ul>
20
- <% end %>
21
11
  </div>
22
- <div class="spotlight-flexbox browse-categories categories-<%= [group.searches.count, (@page.display_sidebar? ? 3 : 4)].min %>" data-browse-group-categories-carousel data-sidebar="<%= @page.display_sidebar? %>" data-browse-group-categories-count="<%= group.searches.count %>">
23
- <% group.searches.published.each_with_index do |search, index| %>
24
- <div class="box category-1 justify-content-center justify-content-md-space-around">
25
- <%= link_to spotlight.exhibit_browse_group_path(current_exhibit, group, search), class: 'justify-content-center' do %>
12
+ <div class="spotlight-flexbox browse-categories categories-<%= [group.searches.published.count, 4].min %>" data-sidebar="<%= @page.display_sidebar? %>">
13
+ <% group.searches.published.first(4).each do |search| %>
14
+ <div class="box">
15
+ <%= link_to spotlight.exhibit_browse_group_path(current_exhibit, group, search) do %>
26
16
  <div class="browse-category" style='background-image: url("<%= search.thumbnail.iiif_url if search.thumbnail %>")'>
27
17
  <div class="category-caption">
28
18
  <p class="category-title">
@@ -34,7 +24,6 @@
34
24
  <span class="item-count"><%= t(:'.items', count: search.count) %></span>
35
25
  <% end %>
36
26
  </div>
37
- <div class="hover-overlay"></div>
38
27
  </div>
39
28
  <% end %>
40
29
  </div>
@@ -1,8 +1,6 @@
1
1
  <div class="box" data-id="<%= document.id %>">
2
2
  <% view_config = blacklight_config.view_config(:embed) %>
3
- <%= render (view_config.document_component || Spotlight::SolrDocumentLegacyEmbedComponent).new(document: document_presenter(document, view_config: view_config), counter: nil, block: local_assigns[:block]) do |component| %>
4
- <% component.with_partial do %>
5
- <%= render_document_partials document, view_config.partials, component: component, document_counter: nil, view_config: view_config, block: local_assigns[:block], **(view_config.locals) %>
6
- <% end if Blacklight::VERSION < '9.0' && view_config&.partials&.any? %>
7
- <% end %>
3
+ <%= render (view_config.document_component || Spotlight::SolrDocumentLegacyEmbedComponent)
4
+ .new(document: document_presenter(document, view_config: view_config),
5
+ counter: nil, block: local_assigns[:block]) %>
8
6
  </div>
@@ -4,7 +4,7 @@
4
4
  <div class="spotlight-flexbox browse-categories categories-<%= link_to_search_block.searches.length %>" data-sidebar="<%= @page.display_sidebar? %>">
5
5
  <% link_to_search_block.searches.each_with_index do |search, index| %>
6
6
  <div class="box category-<%= (index + 1) %>">
7
- <%= link_to spotlight.search_exhibit_catalog_path(search.exhibit, search.query_params || {}) do %>
7
+ <%= link_to path_to_saved_search(search) do %>
8
8
  <div class="browse-category" style='background-image: url("<%= search.thumbnail.iiif_url if search.thumbnail %>")'>
9
9
  <div class="category-caption">
10
10
  <p class="category-title">
@@ -3,8 +3,17 @@
3
3
  <% html_id = "carousel-#{solr_documents_carousel_block.object_id}" %>
4
4
  <div class="content-block carousel-block carousel-height-<%= solr_documents_carousel_block.max_height %>">
5
5
  <% if solr_documents_carousel_block.documents? %>
6
- <div id="<%= html_id %>" class="carousel slide" <%= "data-bs-ride=carousel data-bs-interval=#{solr_documents_carousel_block.interval}" if solr_documents_carousel_block.autoplay? %>>
7
- <div class="carousel-inner text-center">
6
+ <div id="<%= html_id %>" class="carousel slide" <%= "data-bs-interval=#{solr_documents_carousel_block.interval} data-bs-pause=false" if solr_documents_carousel_block.autoplay? %>>
7
+ <% if solr_documents_carousel_block.autoplay? %>
8
+ <button type="button" class="btn btn-dark carousel-pause-play"
9
+ aria-label="<%= t('spotlight.sir_trevor.blocks.solr_documents_carousel_block.controls.stop_rotation') %>"
10
+ data-stop-label="<%= t('spotlight.sir_trevor.blocks.solr_documents_carousel_block.controls.stop_rotation') %>"
11
+ data-start-label="<%= t('spotlight.sir_trevor.blocks.solr_documents_carousel_block.controls.start_rotation') %>">
12
+ <%= blacklight_icon('pause', classes: 'carousel-pause-icon') %>
13
+ <%= blacklight_icon('play_arrow', classes: 'carousel-play-icon', hidden: true) %>
14
+ </button>
15
+ <% end %>
16
+ <div class="carousel-inner text-center" aria-live="<%= solr_documents_carousel_block.autoplay? ? 'off' : 'polite' %>">
8
17
  <% solr_documents_carousel_block.each_document.each_with_index do |(block_options, document), index| %>
9
18
  <% doc_presenter = document_presenter(document) %>
10
19
  <div class="carousel-item <%= 'active' if index == 0 %>" data-id="<%= document.id %>">
@@ -11,7 +11,7 @@
11
11
  </div>
12
12
 
13
13
  </td>
14
- <td class="text-end"><%= exhibit.published? ? t(:'.published') : t(:'.unpublished') %></td>
14
+ <td class="text-end"><%= t(:".#{exhibit.publishing_status}") %></td>
15
15
  <td class="text-end"><%= exhibit.requested_by %></td>
16
16
  <td class="text-end"><%= l exhibit.created_at, format: :long %></td>
17
17
  <td class="text-end"><%= l exhibit.updated_at, format: :long %></td>
@@ -78,7 +78,7 @@ ignore_unused:
78
78
  # TODO Look into these as its unclear
79
79
  - activerecord.models.spotlight.page
80
80
  #- # perhaps removed here? https://github.com/projectblacklight/spotlight/commit/d4fdf04565ab3d648f0cb2a1238d84f262509fcd
81
- - devise.mailer.*.* # Does this even work? https://github.com/projectblacklight/spotlight/blob/main/app/mailers/spotlight/invitation_mailer.rb#L16
81
+ - devise.mailer.*.*
82
82
  - helpers.submit.solr_document.{batch_error,batch_updated,create,created,destroyed,submit,update,updated} # Do we need this?
83
83
  - helpers.submit.user.{batch_error,batch_updated,create,created,destroyed,submit,update,updated} # Do we need this?
84
84
  - helpers.action.destroy # no idea here
@@ -29,10 +29,9 @@ ar:
29
29
  reset: مسح استعلام البحث
30
30
  submit: ابحث في فئة التصفح
31
31
  success:
32
- expand_html: "يمكنك ايضاً <a href=\"%{expand_search_url}\">البحث في كل مواد المعرض عن \"%{browse_query}\"</a>."
33
32
  result_number_html: "طابق استعلام البحث <strong> %{search_size} من %{parent_search_count} عنصر</strong> في هذه الفئة."
33
+ view_search: اعرض فئة التصفح هذه مع مزيد من خيارات البحث والتصفية
34
34
  zero_results:
35
- expand_html: "تستطيع أن <a href=\"%{clear_search_url}\"> تمسح استعلام البحث </a> أو محاولة <a href=\"%{expand_search_url}\"> البحث في كل المواد المعروضة لاستعلام البحث ل\"%{browse_query}\"</a>"
36
35
  result_number: لم يتطابق بحثك مع أي عنصر في هذه الفئة.
37
36
  exhibits:
38
37
  groups:
@@ -33,8 +33,7 @@ de:
33
33
  reset: Zurücksetzen
34
34
  submit: Innerhalb dieser Kategorie suchen
35
35
  success:
36
- expand_html: Suche erweitern <a href="%{expand_search_url}">"%{browse_query}"</a>.
37
36
  result_number_html: <strong> %{search_size} Suchergebnisse von %{parent_search_count} Gesamteinheiten in dieser Suchkategorie gefunden</strong>.
37
+ view_search: Diese Kategorie mit weiteren Such- und Filteroptionen anzeigen
38
38
  zero_results:
39
- expand_html: <a href="%{clear_search_url}">Suche zurücksetzen</a> oder <a href="%{expand_search_url}"> erweitern "%{browse_query}"</a>.
40
39
  result_number: Es können keine Suchergebnisse gefunden werden.
@@ -37,6 +37,10 @@ en:
37
37
  page: Page
38
38
  spotlight/group: Browse group
39
39
  spotlight/search: Browse category
40
+ blacklight:
41
+ top_navbar:
42
+ aria:
43
+ container_label: User utility
40
44
  cancel: Cancel
41
45
  devise:
42
46
  mailer:
@@ -180,6 +184,7 @@ en:
180
184
  fr: French
181
185
  hu: Hungarian
182
186
  it: Italian
187
+ ja: Japanese
183
188
  nl: Dutch
184
189
  pt-BR: Portuguese - Brazil
185
190
  sq: Albanian
@@ -265,10 +270,9 @@ en:
265
270
  reset: Clear search box
266
271
  submit: Search within browse category
267
272
  success:
268
- expand_html: You can also <a href="%{expand_search_url}">search all exhibit items for "%{browse_query}"</a>.
269
273
  result_number_html: Your search matched <strong> %{search_size} of %{parent_search_count} items</strong> in this browse category.
274
+ view_search: View this browse category with more search and filter options
270
275
  zero_results:
271
- expand_html: You can <a href="%{clear_search_url}"> clear this search</a> or try <a href="%{expand_search_url}">searching all exhibit items for "%{browse_query}"</a>.
272
276
  result_number: Your search did not match any items in this browse category.
273
277
  bulk_actions:
274
278
  add: Add
@@ -403,6 +407,8 @@ en:
403
407
  reindex: Reindex items
404
408
  breadcrumb:
405
409
  index: Search results
410
+ document_admin_table:
411
+ thumbnail: Thumbnail
406
412
  document_visibility_control:
407
413
  inprogress: In progress
408
414
  make_private: Make private
@@ -569,17 +575,28 @@ en:
569
575
  email_input_aria_label: Recipient email %{index}
570
576
  delete:
571
577
  heading: Delete exhibit
572
- warning_html: This action is irreversible. Be sure to back up the exhibit settings and content using the %{export_link} feature before proceeding.
578
+ warning_html: This action is irreversible. You can back up the exhibit configurations using the %{export_link} feature before proceeding.
573
579
  edit:
574
580
  basic_settings:
575
581
  heading: Basic settings
576
582
  header: General
577
583
  exhibit_card:
584
+ previewable: Preview
578
585
  unpublished: Unpublished
579
586
  export:
587
+ configurations:
588
+ attachments_html: 'Attachments: %{config}'
589
+ blacklight_configuration_html: 'Metadata/Search configurations: %{config}'
590
+ config_html: 'General configurations: %{config}'
591
+ pages_html: 'Pages: %{config}'
592
+ resources_html: 'Item data: %{config}'
593
+ configurations_intro: 'Export Configurations:'
580
594
  download: Export data
581
595
  heading: Export data
582
- instructions: You can create a backup of this exhibit by exporting the data that defines it to a JSON file. You can then import that JSON file into new exhibit to restore the exhibit data or to use as a starting point for a new exhibit.
596
+ instructions_1: You can export exhibit data as a JSON file. Exports include data as defined by your site's export configurations - see below.
597
+ instructions_2: The exported JSON file can be imported as a backup to this exhibit or as a starting point for a new exhibit. If item data is included, this export should not be imported into a new exhibit, as this data is exhibit-specific and not portable.
598
+ instructions_3: Please consult with your site administrator to change these site configurations, if needed.
599
+ no_configurations: No export configurations defined.
583
600
  filter:
584
601
  heading: Filter items
585
602
  instructions: You can limit the items included in this exhibit by applying a filter to your Solr index. When you apply a filter, only items with values that match the filter will be included in your exhibit. To apply a filter, enter both a field and a value that match the names used in your Solr index.
@@ -588,8 +605,20 @@ en:
588
605
  fields:
589
606
  contact_emails:
590
607
  help_block: Each recipient will receive submissions made through the feedback form
591
- published:
608
+ exhibit_link:
609
+ copy: Copy
610
+ label: Exhibit link
611
+ publishing_status:
612
+ discoverable:
613
+ help: Anyone can view the exhibit, and it appears on the home page.
614
+ label: Published
592
615
  help_block: ''
616
+ previewable:
617
+ help: Anyone with the exhibit link can view. The exhibit does not appear on the home page.
618
+ label: Preview (link only)
619
+ unpublished:
620
+ help: Only logged-in users with appropriate permission can view the exhibit.
621
+ label: Unpublished
593
622
  uneditable_non_default_language: This field is not editable in the current language. Switch to the default language to edit it.
594
623
  uneditable_non_default_language_form:
595
624
  default_language: Switch to default language
@@ -602,6 +631,7 @@ en:
602
631
  heading: Import data
603
632
  instructions: You can import an exhibit JSON file exported from this application to use that data file to define this exhibit.
604
633
  index:
634
+ previewable: Preview exhibits
605
635
  published: Published exhibits
606
636
  unpublished: Unpublished exhibits
607
637
  user: Your exhibits
@@ -635,12 +665,10 @@ en:
635
665
  all: All
636
666
  exhibits_admin_invitation_mailer:
637
667
  invitation_instructions:
638
- accept: Accept invitation
639
668
  accept_invitation: You can accept this invitation by selecting the link below.
640
669
  hello: Hello!
641
670
  ignore: If you don't want to accept the invitation, please ignore this email. Your exhibits administrator account won't be created until you access the link above.
642
671
  someone_invited_you: The Exhibits Administrator has invited you to help manage exhibits.
643
- subject: Invitation to manage \"%{exhibit_name}\"
644
672
  feature_pages:
645
673
  page_options:
646
674
  published: Publish
@@ -694,8 +722,6 @@ en:
694
722
  hello: Hello!
695
723
  ignore: If you don't want to accept the invitation, please ignore this email. Your account won't be created until you access the link above.
696
724
  someone_invited_you: The Exhibits Administrator has invited you to help work on the "%{exhibit_name}" exhibit.
697
- subject: Invitation to manage \"%{exhibit_name}\"
698
- visit: Visit exhibit
699
725
  job_trackers:
700
726
  show:
701
727
  headers:
@@ -1017,6 +1043,8 @@ en:
1017
1043
  controls:
1018
1044
  next_item: Next item
1019
1045
  previous_item: Previous item
1046
+ start_rotation: Start automatic slide show
1047
+ stop_rotation: Stop automatic slide show
1020
1048
  uploaded_items_block:
1021
1049
  zpr_link_html: View <span class="visually-hidden">%{title}</span> larger
1022
1050
  sites:
@@ -1033,7 +1061,8 @@ en:
1033
1061
  instructions: Drag and drop the exhibits below to specify the order in which they are displayed on the exhibits homepage.
1034
1062
  page_title: Order exhibits
1035
1063
  exhibit:
1036
- published: Published
1064
+ discoverable: Published
1065
+ previewable: Preview
1037
1066
  unpublished: Unpublished
1038
1067
  home: Exhibits
1039
1068
  tags:
@@ -28,10 +28,9 @@ es:
28
28
  reset: Limpiar
29
29
  submit: Buscar en esta categoría
30
30
  success:
31
- expand_html: También puede buscar todos los elementos recuperados %{browse_query}.
32
31
  result_number_html: Su búsqueda coincide con %{search_size} de elementos de las %{parent_search_count} en esta categoría.
32
+ view_search: Ver esta categoría con más opciones de búsqueda y filtrado
33
33
  zero_results:
34
- expand_html: Puede %{clear_search_url} borrar su búsqueda o interntar otra que busque en todos los elementos %{browse_query}.
35
34
  result_number: No se encuentran registos con esta búsqueda.
36
35
  header_links:
37
36
  contact: Comentarios
@@ -33,8 +33,7 @@ fr:
33
33
  reset: Effacer les recherches récentes de la barre de recherche
34
34
  submit: Chercher dans cette catégorie
35
35
  success:
36
- expand_html: Vous pouvez aussi chercher tous les éléments correspondant à <a href="%{expand_search_url}">"%{browse_query}"</a>.
37
36
  result_number_html: Votre recherche renvoie à <strong> %{search_size} éléments sur %{parent_search_count} de cette catégorie</strong>.
37
+ view_search: Afficher cette catégorie avec plus d'options de recherche et de filtrage
38
38
  zero_results:
39
- expand_html: Vous pouvez <a href="%{clear_search_url}">effacer cette recherche</a> ou <a href="%{expand_search_url}"> essayer de chercher tous les éléments correspondant à "%{browse_query}"</a>.
40
39
  result_number: Votre recherche n'a donné aucun résultat dans cette catégorie.