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.
- checksums.yaml +4 -4
- data/README.md +41 -4
- data/Rakefile +1 -2
- data/app/assets/javascripts/spotlight/spotlight.esm.js +2168 -4560
- data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
- data/app/assets/javascripts/spotlight/spotlight.js +2167 -4559
- data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
- data/app/assets/stylesheets/spotlight/_blacklight_overrides.scss +4 -0
- data/app/assets/stylesheets/spotlight/_browse.scss +0 -4
- data/app/assets/stylesheets/spotlight/{_collapse_toggle.scss → _collapse_toggle.css} +2 -2
- data/app/assets/stylesheets/spotlight/_exhibit_admin.scss +8 -0
- data/app/assets/stylesheets/spotlight/_exhibits_index.scss +2 -1
- data/app/assets/stylesheets/spotlight/_footer.scss +2 -2
- data/app/assets/stylesheets/spotlight/_header.scss +8 -8
- data/app/assets/stylesheets/spotlight/_pages.scss +1 -1
- data/app/assets/stylesheets/spotlight/_slideshow_block.scss +15 -0
- data/app/assets/stylesheets/spotlight/_spotlight.scss +1 -1
- data/app/assets/stylesheets/spotlight/_translations.scss +3 -3
- data/app/assets/stylesheets/spotlight/_uploaded_items_block.css +7 -0
- data/app/assets/stylesheets/spotlight/_variables.css +15 -0
- data/app/assets/stylesheets/spotlight/browse_group_categories_block.scss +0 -76
- data/app/components/blacklight/icons/pause_component.rb +15 -0
- data/app/components/blacklight/icons/play_arrow_component.rb +15 -0
- data/app/components/spotlight/analytics/dashboard_component.html.erb +1 -1
- data/app/components/spotlight/custom_field_form_group_component.rb +40 -0
- data/app/components/spotlight/document_admin_table_component.html.erb +2 -2
- data/app/components/spotlight/edit_sidecar_component.html.erb +18 -0
- data/app/components/spotlight/edit_sidecar_component.rb +41 -0
- data/app/components/spotlight/masthead_component.html.erb +18 -0
- data/app/components/spotlight/masthead_component.rb +46 -0
- data/app/components/spotlight/save_search_component.html.erb +1 -1
- data/app/components/spotlight/sidecar_form_field_component.html.erb +18 -0
- data/app/components/spotlight/sidecar_form_field_component.rb +71 -0
- data/app/components/spotlight/solr_document_legacy_embed_component.html.erb +0 -4
- data/app/components/spotlight/solr_document_legacy_embed_component.rb +2 -2
- data/app/components/spotlight/tag_selector_component.html.erb +1 -1
- data/app/components/spotlight/tag_selector_component.rb +3 -2
- data/app/components/spotlight/upload_field_form_group_component.rb +33 -0
- data/app/controllers/concerns/spotlight/controller.rb +15 -14
- data/app/controllers/concerns/spotlight/search_helper.rb +2 -5
- data/app/controllers/spotlight/browse_controller.rb +1 -6
- data/app/controllers/spotlight/catalog_controller.rb +2 -3
- data/app/controllers/spotlight/concerns/application_controller.rb +4 -6
- data/app/controllers/spotlight/exhibits_controller.rb +22 -10
- data/app/controllers/spotlight/lock_controller.rb +1 -1
- data/app/controllers/spotlight/pages_controller.rb +11 -11
- data/app/controllers/spotlight/resources/upload_controller.rb +1 -1
- data/app/controllers/spotlight/resources_controller.rb +1 -1
- data/app/controllers/spotlight/solr_controller.rb +5 -1
- data/app/helpers/spotlight/application_helper.rb +14 -26
- data/app/helpers/spotlight/crud_link_helpers.rb +0 -12
- data/app/helpers/spotlight/main_app_helpers.rb +2 -2
- data/app/javascript/spotlight/admin/add_another.js +37 -25
- data/app/javascript/spotlight/admin/add_image_selector.js +43 -26
- data/app/javascript/spotlight/admin/add_new_button.js +51 -36
- data/app/javascript/spotlight/admin/blacklight_configuration.js +76 -54
- data/app/javascript/spotlight/admin/block_mixins/autocompleteable.js +102 -101
- data/app/javascript/spotlight/admin/block_mixins/formable.js +91 -75
- data/app/javascript/spotlight/admin/block_mixins/plustextable.js +46 -48
- data/app/javascript/spotlight/admin/blocks/block.js +27 -28
- data/app/javascript/spotlight/admin/blocks/browse_block.js +14 -10
- data/app/javascript/spotlight/admin/blocks/browse_group_categories_block.js +14 -10
- data/app/javascript/spotlight/admin/blocks/pages_block.js +5 -4
- data/app/javascript/spotlight/admin/blocks/resources_block.js +61 -41
- data/app/javascript/spotlight/admin/blocks/search_result_block.js +24 -7
- data/app/javascript/spotlight/admin/blocks/solr_documents_base_block.js +103 -50
- data/app/javascript/spotlight/admin/blocks/solr_documents_carousel_block.js +50 -26
- data/app/javascript/spotlight/admin/blocks/solr_documents_features_block.js +47 -23
- data/app/javascript/spotlight/admin/blocks/uploaded_items_block.js +35 -19
- data/app/javascript/spotlight/admin/crop.js +146 -66
- data/app/javascript/spotlight/admin/croppable.js +5 -4
- data/app/javascript/spotlight/admin/croppable_modal.js +67 -32
- data/app/javascript/spotlight/admin/edit_in_place.js +69 -54
- data/app/javascript/spotlight/admin/exhibits.js +92 -45
- data/app/javascript/spotlight/admin/form_observer.js +92 -78
- data/app/javascript/spotlight/admin/multi_image_selector.js +201 -153
- data/app/javascript/spotlight/admin/pages.js +13 -7
- data/app/javascript/spotlight/admin/progress_monitor.js +65 -50
- data/app/javascript/spotlight/admin/readonly_checkbox.js +7 -3
- data/app/javascript/spotlight/admin/search_typeahead.js +20 -11
- data/app/javascript/spotlight/admin/select_related_input.js +23 -23
- data/app/javascript/spotlight/admin/serialize_json.js +120 -0
- data/app/javascript/spotlight/admin/sir-trevor/block_controls.js +24 -11
- data/app/javascript/spotlight/admin/sir-trevor/block_limits.js +9 -6
- data/app/javascript/spotlight/admin/sir-trevor/locales.js +2 -2
- data/app/javascript/spotlight/admin/spotlight_nestable.js +2 -5
- data/app/javascript/spotlight/admin/translation_progress.js +18 -13
- data/app/javascript/spotlight/admin/users.js +151 -64
- data/app/javascript/spotlight/user/carousel.js +104 -32
- data/app/javascript/spotlight/user/clear_form_button.js +24 -14
- data/app/javascript/spotlight/user/index.js +0 -2
- data/app/javascript/spotlight/user/zpr_links.js +99 -40
- data/app/jobs/concerns/spotlight/gather_documents.rb +1 -1
- data/app/jobs/spotlight/add_uploads_from_csv.rb +31 -8
- data/app/jobs/spotlight/cleanup_job_trackers_job.rb +5 -3
- data/app/models/concerns/spotlight/access_controls_enforcement_search_builder.rb +13 -2
- data/app/models/concerns/spotlight/browse_category_search_builder.rb +3 -3
- data/app/models/concerns/spotlight/exhibit_documents.rb +2 -2
- data/app/models/concerns/spotlight/sitemap.rb +2 -2
- data/app/models/concerns/spotlight/solr_document/finder.rb +2 -2
- data/app/models/concerns/spotlight/solr_document.rb +1 -47
- data/app/models/sir_trevor_rails/blocks/browse_block.rb +0 -4
- data/app/models/sir_trevor_rails/blocks/solr_documents_block.rb +2 -1
- data/app/models/spotlight/blacklight_configuration.rb +5 -3
- data/app/models/spotlight/contact_email.rb +2 -2
- data/app/models/spotlight/custom_field.rb +17 -0
- data/app/models/spotlight/exhibit.rb +28 -0
- data/app/models/spotlight/featured_image.rb +1 -1
- data/app/models/spotlight/field_metadata.rb +10 -5
- data/app/models/spotlight/job_tracker.rb +0 -18
- data/app/models/spotlight/main_navigation.rb +2 -2
- data/app/models/spotlight/page.rb +3 -3
- data/app/models/spotlight/resources/iiif_harvester.rb +7 -4
- data/app/models/spotlight/resources/iiif_manifest.rb +0 -4
- data/app/models/spotlight/resources/iiif_manifest_metadata.rb +1 -3
- data/app/models/spotlight/resources/iiif_service.rb +21 -6
- data/app/models/spotlight/resources/upload.rb +6 -0
- data/app/models/spotlight/search.rb +5 -9
- data/app/models/spotlight/solr_document_sidecar.rb +18 -0
- data/app/services/spotlight/bulk_updates_csv_template_service.rb +1 -1
- data/app/services/spotlight/etl/pipeline.rb +2 -2
- data/app/services/spotlight/etl/step.rb +2 -2
- data/app/views/catalog/_remove_tags.html.erb +2 -2
- data/app/views/layouts/spotlight/base.html.erb +3 -6
- data/app/views/layouts/spotlight/spotlight.html.erb +2 -2
- data/app/views/shared/_analytics.html.erb +4 -3
- data/app/views/shared/_masthead.html.erb +2 -18
- data/app/views/spotlight/about_pages/_empty.html.erb +1 -1
- data/app/views/spotlight/about_pages/_sidebar.html.erb +10 -8
- data/app/views/spotlight/browse/_search.html.erb +2 -2
- data/app/views/spotlight/browse/_search_box.html.erb +6 -14
- data/app/views/spotlight/browse/index.html.erb +1 -1
- data/app/views/spotlight/browse/show.html.erb +1 -1
- data/app/views/spotlight/catalog/_document_admin_table.html.erb +1 -1
- data/app/views/spotlight/catalog/_edit_default.html.erb +1 -1
- data/app/views/spotlight/catalog/edit.html.erb +1 -1
- data/app/views/spotlight/dashboards/_page.html.erb +1 -1
- data/app/views/spotlight/exhibits/_exhibit_card.html.erb +3 -1
- data/app/views/spotlight/exhibits/_export.html.erb +17 -1
- data/app/views/spotlight/exhibits/_form.html.erb +20 -4
- data/app/views/spotlight/exhibits/_missing_exhibits.html.erb +3 -3
- data/app/views/spotlight/exhibits/index.html.erb +21 -8
- data/app/views/spotlight/feature_pages/_empty.html.erb +1 -1
- data/app/views/spotlight/feature_pages/_sidebar.html.erb +17 -15
- data/app/views/spotlight/home_pages/_empty.html.erb +7 -7
- data/app/views/spotlight/pages/show.html.erb +1 -0
- data/app/views/spotlight/resources/upload/_form.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_browse_group_categories_block.html.erb +5 -16
- data/app/views/spotlight/sir_trevor/blocks/_embedded_document.html.erb +3 -5
- data/app/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +11 -2
- data/app/views/spotlight/sites/_exhibit.html.erb +1 -1
- data/config/i18n-tasks.yml +1 -1
- data/config/locales/spotlight.ar.yml +1 -2
- data/config/locales/spotlight.de.yml +1 -2
- data/config/locales/spotlight.en.yml +39 -10
- data/config/locales/spotlight.es.yml +1 -2
- data/config/locales/spotlight.fr.yml +1 -2
- data/config/locales/spotlight.it.yml +1 -2
- data/config/locales/spotlight.ja.yml +39 -0
- data/config/locales/spotlight.zh.yml +1 -2
- data/db/migrate/20261007133748_add_discovery_enabled_to_spotlight_exhibits.rb +5 -0
- data/lib/generators/spotlight/assets/importmap_generator.rb +2 -10
- data/lib/generators/spotlight/assets/propshaft_generator.rb +5 -4
- data/lib/generators/spotlight/install_generator.rb +2 -4
- data/lib/generators/spotlight/templates/catalog_controller.rb +0 -1
- data/lib/generators/spotlight/templates/config/initializers/spotlight_initializer.rb +26 -4
- data/lib/generators/spotlight/templates/solr/conf/schema.xml +4 -3
- data/lib/generators/spotlight/templates/solr/conf/solrconfig.xml +3 -8
- data/lib/migration/page_language.rb +0 -2
- data/lib/spotlight/engine.rb +28 -9
- data/lib/spotlight/search_state.rb +7 -11
- data/lib/spotlight/upload_field_config.rb +19 -1
- data/lib/spotlight/version.rb +1 -1
- data/lib/spotlight.rb +1 -1
- data/spec/support/features/capybara_wait_metadata_helper.rb +3 -1
- data/spec/support/features/test_features_helpers.rb +24 -1
- data/spec/support/iiif_manifest_fixtures.rb +33 -0
- data/spec/support/stub_dns_resolution.rb +12 -0
- metadata +50 -80
- data/app/assets/stylesheets/spotlight/_uploaded_items_block.scss +0 -7
- data/app/assets/stylesheets/spotlight/_variables.scss +0 -13
- data/app/components/blacklight/icons/arrow_alt_circle_left_component.rb +0 -15
- data/app/components/blacklight/icons/arrow_alt_circle_right_component.rb +0 -15
- data/app/components/blacklight/icons/info_component.rb +0 -15
- data/app/components/blacklight/icons/zoom_in_component.rb +0 -15
- data/app/components/blacklight/icons/zoom_out_component.rb +0 -15
- data/app/components/spotlight/icon_component.rb +0 -13
- data/app/javascript/spotlight/user/browse_group_categories.js +0 -54
- data/app/mailers/spotlight/invitation_mailer.rb +0 -21
- data/app/models/concerns/spotlight/resources/web.rb +0 -38
- data/app/services/spotlight/iiif_resource_resolver.rb +0 -78
- data/app/views/catalog/_image_default.html.erb +0 -6
- data/app/views/shared/_exhibit_navbar.html.erb +0 -2
- data/app/views/shared/_header_navbar.html.erb +0 -6
- data/app/views/spotlight/catalog/_admin_index_header_default.html.erb +0 -23
- data/app/views/spotlight/catalog/_admin_thumbnail_default.html.erb +0 -7
- data/app/views/spotlight/catalog/_curation_mode_toggle_default.html.erb +0 -1
- data/app/views/spotlight/catalog/_document_row.html.erb +0 -2
- data/app/views/spotlight/catalog/_edit_sidecar.html.erb +0 -24
- data/app/views/spotlight/catalog/_index_compact_default.html.erb +0 -21
- data/app/views/spotlight/custom_fields/form_group/_text.html.erb +0 -23
- data/app/views/spotlight/custom_fields/form_group/_vocab.html.erb +0 -23
- data/app/views/spotlight/invitation_mailer/exhibit_invitation_notification.html.erb +0 -12
- data/lib/generators/spotlight/templates/javascript/jquery-shim.js +0 -1
- data/vendor/assets/javascripts/tiny-slider.js +0 -3221
- data/vendor/assets/stylesheets/tiny-slider.css +0 -1
- /data/app/assets/stylesheets/spotlight/{_breadcrumbs.scss → _breadcrumbs.css} +0 -0
- /data/app/assets/stylesheets/spotlight/{_croppable.scss → _croppable.css} +0 -0
- /data/app/assets/stylesheets/spotlight/{_modals.scss → _modals.css} +0 -0
- /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 %></
|
|
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
|
|
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
|
-
<
|
|
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
|
-
<%
|
|
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
|
-
<
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
<div class="
|
|
17
|
-
|
|
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)
|
|
5
|
-
|
|
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.
|
|
20
|
+
<% if @exhibits.discoverable.none? %>
|
|
16
21
|
<%= render 'missing_exhibits' %>
|
|
17
22
|
<% else %>
|
|
18
|
-
<%= render 'tags', tags: @exhibits.
|
|
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
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<
|
|
6
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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>
|
|
@@ -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
|
-
<%=
|
|
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
|
|
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"
|
|
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,
|
|
23
|
-
<% group.searches.published.
|
|
24
|
-
<div class="box
|
|
25
|
-
<%= link_to spotlight.exhibit_browse_group_path(current_exhibit, group, search)
|
|
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)
|
|
4
|
-
|
|
5
|
-
|
|
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
|
|
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-
|
|
7
|
-
|
|
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"><%=
|
|
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>
|
data/config/i18n-tasks.yml
CHANGED
|
@@ -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.*.*
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|