blacklight-spotlight 5.0.0.pre.alpha2 → 5.0.0
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/app/assets/javascripts/spotlight/spotlight.esm.js +36 -36
- data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
- data/app/assets/javascripts/spotlight/spotlight.js +36 -36
- data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
- data/app/components/spotlight/analytics/dashboard_component.html.erb +4 -4
- data/app/components/spotlight/bulk_action_component.html.erb +1 -1
- data/app/components/spotlight/bulk_action_component.rb +1 -1
- data/app/components/spotlight/document_component.rb +1 -1
- data/app/components/spotlight/exhibit_navbar_component.html.erb +1 -1
- data/app/components/spotlight/save_search_component.html.erb +2 -4
- data/app/components/spotlight/save_search_component.rb +1 -1
- data/app/javascript/spotlight/admin/block_mixins/autocompleteable.js +1 -1
- data/app/javascript/spotlight/admin/blocks/browse_block.js +2 -2
- data/app/javascript/spotlight/admin/blocks/browse_group_categories_block.js +2 -2
- data/app/javascript/spotlight/admin/blocks/resources_block.js +3 -3
- data/app/javascript/spotlight/admin/blocks/solr_documents_base_block.js +4 -4
- data/app/javascript/spotlight/admin/blocks/solr_documents_carousel_block.js +4 -4
- data/app/javascript/spotlight/admin/blocks/solr_documents_features_block.js +3 -4
- data/app/javascript/spotlight/admin/blocks/uploaded_items_block.js +6 -6
- data/app/javascript/spotlight/admin/iiif.js +4 -3
- data/app/javascript/spotlight/admin/users.js +2 -2
- data/app/javascript/spotlight/controllers/tag_selector_controller.js +2 -2
- data/app/javascript/spotlight/user/zpr_links.js +3 -3
- data/app/models/spotlight/job_tracker.rb +1 -1
- data/app/views/catalog/_add_tags.html.erb +2 -4
- data/app/views/catalog/_change_visibility.html.erb +2 -4
- data/app/views/catalog/_remove_tags.html.erb +3 -5
- data/app/views/shared/_curated_features_navbar.html.erb +1 -1
- data/app/views/shared/_user_util_links.html.erb +2 -2
- data/app/views/spotlight/admin_users/index.html.erb +5 -5
- data/app/views/spotlight/appearances/edit.html.erb +4 -4
- data/app/views/spotlight/browse/_search_box.html.erb +2 -2
- data/app/views/spotlight/browse/index.html.erb +1 -1
- data/app/views/spotlight/browse/show.html.erb +1 -1
- data/app/views/spotlight/bulk_updates/_download.html.erb +2 -2
- data/app/views/spotlight/bulk_updates/_upload.html.erb +1 -1
- data/app/views/spotlight/bulk_updates/edit.html.erb +3 -3
- data/app/views/spotlight/catalog/_admin_header.html.erb +1 -1
- data/app/views/spotlight/catalog/_curation_mode_toggle_default.html.erb +1 -1
- data/app/views/spotlight/catalog/_document_visibility_control.html.erb +1 -1
- data/app/views/spotlight/catalog/admin.html.erb +1 -1
- data/app/views/spotlight/custom_fields/form_group/_text.html.erb +2 -2
- data/app/views/spotlight/custom_fields/form_group/_vocab.html.erb +2 -2
- data/app/views/spotlight/exhibits/_exhibit_card.html.erb +1 -1
- data/app/views/spotlight/exhibits/_languages.html.erb +1 -1
- data/app/views/spotlight/exhibits/edit.html.erb +6 -6
- data/app/views/spotlight/exhibits/index.html.erb +3 -3
- data/app/views/spotlight/featured_images/_form.html.erb +1 -1
- data/app/views/spotlight/home_pages/_edit_page_link.html.erb +1 -1
- data/app/views/spotlight/locks/_lock.html.erb +1 -1
- data/app/views/spotlight/pages/_edit_page_link.html.erb +1 -1
- data/app/views/spotlight/pages/_form.html.erb +5 -5
- data/app/views/spotlight/pages/_order_pages.html.erb +1 -1
- data/app/views/spotlight/pages/_view_type_group.html.erb +1 -1
- data/app/views/spotlight/resources/_external_resources_form.html.erb +0 -1
- data/app/views/spotlight/resources/new.html.erb +0 -1
- data/app/views/spotlight/roles/index.html.erb +1 -1
- data/app/views/spotlight/search_configurations/_default_per_page.html.erb +1 -1
- data/app/views/spotlight/search_configurations/_document_index_view_types.html.erb +1 -1
- data/app/views/spotlight/search_configurations/_facets.html.erb +1 -1
- data/app/views/spotlight/search_configurations/edit.html.erb +3 -3
- data/app/views/spotlight/searches/_form.html.erb +4 -4
- data/app/views/spotlight/searches/index.html.erb +4 -4
- data/app/views/spotlight/shared/_dd3_item.html.erb +2 -2
- data/app/views/spotlight/shared/_exhibit_sidebar.html.erb +1 -1
- data/app/views/spotlight/shared/_locale_picker.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_browse_group_categories_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_heading_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_search_results_block.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +3 -3
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb +2 -2
- data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +1 -1
- data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +1 -1
- data/app/views/spotlight/sites/_exhibit.html.erb +4 -4
- data/app/views/spotlight/sites/edit.html.erb +2 -2
- data/app/views/spotlight/sites/edit_exhibits.html.erb +4 -4
- data/app/views/spotlight/tags/index.html.erb +1 -1
- data/app/views/spotlight/translations/_browse_categories.html.erb +3 -3
- data/app/views/spotlight/translations/_import.html.erb +3 -3
- data/app/views/spotlight/translations/_page.html.erb +1 -1
- data/app/views/spotlight/translations/edit.html.erb +6 -6
- data/config/locales/spotlight.en.yml +2 -2
- data/lib/spotlight/version.rb +1 -1
- data/vendor/assets/stylesheets/sir-trevor/block-controls.scss +0 -4
- metadata +5 -7
- data/app/components/spotlight/blocks/heading_block_component.erb +0 -2
- data/app/components/spotlight/blocks/heading_block_component.rb +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a26266b1d604813d250c2b425946aac71d949a2fbab512afc7df223b47e05289
|
4
|
+
data.tar.gz: d83e03919f89b14dacb40962671ceff6423293055d08195e976156e6dfa312d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 158c210f757f5f4d264e9015b6b6e274ea2a6fbc4623d681fee5705cf189aaae248936b271079ee2419ef6ee81c4e55095de0ed730614d2d75b1fdfa7f872b53
|
7
|
+
data.tar.gz: 28b4acb8124c98fc4c55a445626e89fca4d937e409a7146250ddfbb41fe52f9a9096f7a215ea6165562e04e2acd108093933caae0e4cd449e0edc668a52b8d33
|
@@ -3304,10 +3304,10 @@ class ZprLinks {
|
|
3304
3304
|
modalDialog.addClass('modal-xl');
|
3305
3305
|
modalContent.html('<div id="osd-modal-container"></div>');
|
3306
3306
|
var controls = `<div class="controls d-flex justify-content-center justify-content-md-end">
|
3307
|
-
<div class="custom-close-controls
|
3308
|
-
<button type="button" class="btn btn-dark" data-
|
3307
|
+
<div class="custom-close-controls pe-3 pt-3">
|
3308
|
+
<button type="button" class="btn btn-dark" data-bs-dismiss="modal" aria-hidden="true">${Spotlight.ZprLinks.close}</button>
|
3309
3309
|
</div>
|
3310
|
-
<div class="zoom-controls mb-3
|
3310
|
+
<div class="zoom-controls mb-3 me-md-3">
|
3311
3311
|
<button id="osd-zoom-in" type="button" class="btn btn-dark">${Spotlight.ZprLinks.zoomIn}</button>
|
3312
3312
|
<button id="osd-zoom-out" type="button" class="btn btn-dark">${Spotlight.ZprLinks.zoomOut}</button>
|
3313
3313
|
</div>
|
@@ -3556,10 +3556,11 @@ class Iiif {
|
|
3556
3556
|
it[Symbol.iterator] = function*() {
|
3557
3557
|
for (let canvas of context.canvases()) {
|
3558
3558
|
for (let image of canvas.images) {
|
3559
|
-
var iiifService = image.resource.service
|
3559
|
+
var iiifService = image.resource?.service || image.resource?.default?.service;
|
3560
|
+
var iiifServiceId = iiifService['@id'];
|
3560
3561
|
yield {
|
3561
|
-
'thumb':
|
3562
|
-
'tilesource':
|
3562
|
+
'thumb': iiifServiceId + '/full/!100,100/0/default.jpg',
|
3563
|
+
'tilesource': iiifServiceId + '/info.json',
|
3563
3564
|
'manifest': context.manifestUrl,
|
3564
3565
|
'canvasId': canvas['@id'],
|
3565
3566
|
'imageId': image['@id']
|
@@ -5147,7 +5148,7 @@ class Users {
|
|
5147
5148
|
function edit_user(event) {
|
5148
5149
|
event.preventDefault();
|
5149
5150
|
$(this).closest('tr').hide();
|
5150
|
-
const id = $(this).attr('data-target')
|
5151
|
+
const id = $(this).attr('data-target');
|
5151
5152
|
const edit_view = $("[data-edit-for='"+id+"']", container).show();
|
5152
5153
|
$.each(edit_view.find('input[type="text"], select'), function() {
|
5153
5154
|
// Cache original values incase editing is canceled
|
@@ -5178,7 +5179,7 @@ class Users {
|
|
5178
5179
|
}
|
5179
5180
|
|
5180
5181
|
function destroy_user(event) {
|
5181
|
-
const id = $(this).attr('data-target')
|
5182
|
+
const id = $(this).attr('data-target');
|
5182
5183
|
$("[data-destroy-for='"+id+"']", container).val('1');
|
5183
5184
|
}
|
5184
5185
|
|
@@ -5246,7 +5247,7 @@ class Users {
|
|
5246
5247
|
<auto-complete src="${this.autocomplete_url()}" for="${autocompleteID}-popup" fetch-on-empty>
|
5247
5248
|
<input type="text" name="${autocompleteID}" placeholder="${i18n.t("blocks:autocompleteable:placeholder")}" data-default-typeahead>
|
5248
5249
|
<ul id="${autocompleteID}-popup"></ul>
|
5249
|
-
<div id="${autocompleteID}-popup-feedback" class="
|
5250
|
+
<div id="${autocompleteID}-popup-feedback" class="visually-hidden"></div>
|
5250
5251
|
</auto-complete>
|
5251
5252
|
` };
|
5252
5253
|
}
|
@@ -5570,7 +5571,7 @@ Spotlight$1.Block.Resources = (function(){
|
|
5570
5571
|
<div class="checkbox">
|
5571
5572
|
<input name="item[${index}][display]" type="hidden" value="false" />
|
5572
5573
|
<input name="item[${index}][display]" id="${this.formId(this.display_checkbox + '_' + data.id)}" type="checkbox" ${checked} class="item-grid-checkbox" value="true" />
|
5573
|
-
<label class="
|
5574
|
+
<label class="visually-hidden" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label>
|
5574
5575
|
</div>
|
5575
5576
|
<div class="pic">
|
5576
5577
|
<img class="img-thumbnail" src="${(data.thumbnail_image_url || ((data.iiif_tilesource || "").replace("/info.json", "/full/!100,100/0/default.jpg")))}" />
|
@@ -5585,7 +5586,7 @@ Spotlight$1.Block.Resources = (function(){
|
|
5585
5586
|
<div>${(data.slug || data.id)}</div>
|
5586
5587
|
${this._altTextFieldsHTML(index, data)}
|
5587
5588
|
</div>
|
5588
|
-
<div class="remove float-
|
5589
|
+
<div class="remove float-end">
|
5589
5590
|
<a data-item-grid-panel-remove="true" href="#">${i18n.t("blocks:resources:panel:remove")}</a>
|
5590
5591
|
</div>
|
5591
5592
|
</div>
|
@@ -5673,7 +5674,7 @@ Spotlight$1.Block.Resources = (function(){
|
|
5673
5674
|
altTextHTML: function(index, data) {
|
5674
5675
|
const { isDecorative, altText, altTextBackup, placeholderAttr, disabledAttr } = this._altTextData(data);
|
5675
5676
|
return `<div class="mt-2 pt-2 d-flex">
|
5676
|
-
<div class="me-2
|
5677
|
+
<div class="me-2">
|
5677
5678
|
<label class="col-form-label pb-0 pt-1" for="${this.formId(this.alt_text_textarea + '_' + data.id)}">${i18n.t("blocks:resources:alt_text:alternative_text")}</label>
|
5678
5679
|
<div class="form-check mb-1 justify-content-end">
|
5679
5680
|
<input class="form-check-input" type="checkbox"
|
@@ -5773,7 +5774,7 @@ SirTrevor.Blocks.Browse = (function(){
|
|
5773
5774
|
<div class="checkbox">
|
5774
5775
|
<input name="item[${index}][display]" type="hidden" value="false" />
|
5775
5776
|
<input name="item[${index}][display]" id="${this.formId(this.display_checkbox + '_' + data.id)}" type="checkbox" ${checked} class="item-grid-checkbox" value="true" />
|
5776
|
-
<label class="
|
5777
|
+
<label class="visually-hidden" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label>
|
5777
5778
|
</div>
|
5778
5779
|
<div class="pic">
|
5779
5780
|
<img class="img-thumbnail" src="${(data.thumbnail_image_url || ((data.iiif_tilesource || "").replace("/info.json", "/full/!100,100/0/default.jpg")))}" />
|
@@ -5782,7 +5783,7 @@ SirTrevor.Blocks.Browse = (function(){
|
|
5782
5783
|
<div class="title card-title">${(data.full_title || data.title)}</div>
|
5783
5784
|
<div>${(data.slug || data.id)}</div>
|
5784
5785
|
</div>
|
5785
|
-
<div class="remove float-
|
5786
|
+
<div class="remove float-end">
|
5786
5787
|
<a data-item-grid-panel-remove="true" href="#">${i18n.t("blocks:resources:panel:remove")}</a>
|
5787
5788
|
</div>
|
5788
5789
|
</div>
|
@@ -5831,7 +5832,7 @@ SirTrevor.Blocks.BrowseGroupCategories = (function(){
|
|
5831
5832
|
return `<auto-complete src="${this.autocomplete_url()}" for="${autocompleteID}-popup" fetch-on-empty>
|
5832
5833
|
<input type="text" name="${autocompleteID}" placeholder="${i18n.t("blocks:browse_group_categories:autocomplete")}" data-default-typeahead>
|
5833
5834
|
<ul id="${autocompleteID}-popup"></ul>
|
5834
|
-
<div id="${autocompleteID}-popup-feedback" class="
|
5835
|
+
<div id="${autocompleteID}-popup-feedback" class="visually-hidden"></div>
|
5835
5836
|
</auto-complete>`
|
5836
5837
|
},
|
5837
5838
|
autocomplete_template: function(obj) {
|
@@ -5866,7 +5867,7 @@ SirTrevor.Blocks.BrowseGroupCategories = (function(){
|
|
5866
5867
|
<div class="checkbox">
|
5867
5868
|
<input name="item[${index}][display]" type="hidden" value="false" />
|
5868
5869
|
<input name="item[${index}][display]" id="${this.formId(this.display_checkbox + '_' + data.id)}" type="checkbox" ${checked} class="item-grid-checkbox" value="true" />
|
5869
|
-
<label class="
|
5870
|
+
<label class="visually-hidden" for="${this.formId(this.display_checkbox + '_' + data.id)}">${i18n.t("blocks:resources:panel:display")}</label>
|
5870
5871
|
</div>
|
5871
5872
|
<div class="main">
|
5872
5873
|
<div class="title card-title">${data.title}</div>
|
@@ -6131,10 +6132,10 @@ SirTrevor.Blocks.SolrDocumentsBase = (function(){
|
|
6131
6132
|
var iiifFields = [
|
6132
6133
|
'<input type="hidden" name="item[' + index + '][thumbnail_image_url]" value="' + (autocomplete_data.thumbnail_image_url || autocomplete_data.thumbnail || "") + '"/>',
|
6133
6134
|
'<input type="hidden" name="item[' + index + '][full_image_url]" value="' + (autocomplete_data.full_image_url || autocomplete_data.thumbnail_image_url || autocomplete_data.thumbnail || "") + '"/>',
|
6134
|
-
'<input type="hidden" name="item[' + index + '][iiif_tilesource]" value="' + (autocomplete_data.iiif_tilesource) + '"/>',
|
6135
|
-
'<input type="hidden" name="item[' + index + '][iiif_manifest_url]" value="' + (autocomplete_data.iiif_manifest_url) + '"/>',
|
6136
|
-
'<input type="hidden" name="item[' + index + '][iiif_canvas_id]" value="' + (autocomplete_data.iiif_canvas_id) + '"/>',
|
6137
|
-
'<input type="hidden" name="item[' + index + '][iiif_image_id]" value="' + (autocomplete_data.iiif_image_id) + '"/>',
|
6135
|
+
'<input type="hidden" name="item[' + index + '][iiif_tilesource]" value="' + (autocomplete_data.iiif_tilesource || "") + '"/>',
|
6136
|
+
'<input type="hidden" name="item[' + index + '][iiif_manifest_url]" value="' + (autocomplete_data.iiif_manifest_url || "") + '"/>',
|
6137
|
+
'<input type="hidden" name="item[' + index + '][iiif_canvas_id]" value="' + (autocomplete_data.iiif_canvas_id || "") + '"/>',
|
6138
|
+
'<input type="hidden" name="item[' + index + '][iiif_image_id]" value="' + (autocomplete_data.iiif_image_id || "") + '"/>',
|
6138
6139
|
];
|
6139
6140
|
|
6140
6141
|
// The region input is required for widgets that enable image cropping but not otherwise
|
@@ -6301,10 +6302,10 @@ SirTrevor.Blocks.SolrDocumentsCarousel = (function(){
|
|
6301
6302
|
var clickHandler = function (e) {
|
6302
6303
|
var href;
|
6303
6304
|
var $this = $(this);
|
6304
|
-
var $target = $($this.attr('data-
|
6305
|
+
var $target = $($this.attr('data-bs-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')); // strip for ie7
|
6305
6306
|
if (!$target.hasClass('carousel')) return
|
6306
6307
|
var options = $.extend({}, $target.data(), $this.data());
|
6307
|
-
var slideIndex = $this.attr('data-
|
6308
|
+
var slideIndex = $this.attr('data-bs-slide-to');
|
6308
6309
|
if (slideIndex) options.interval = false;
|
6309
6310
|
|
6310
6311
|
$.fn.carousel.call($target, options);
|
@@ -6317,8 +6318,8 @@ SirTrevor.Blocks.SolrDocumentsCarousel = (function(){
|
|
6317
6318
|
};
|
6318
6319
|
|
6319
6320
|
$(this.inner).find('.carousel')
|
6320
|
-
.on('click.bs.carousel.data-api', '[data-
|
6321
|
-
.on('click.bs.carousel.data-api', '[data-
|
6321
|
+
.on('click.bs.carousel.data-api', '[data-bs-slide]', clickHandler)
|
6322
|
+
.on('click.bs.carousel.data-api', '[data-bs-slide-to]', clickHandler);
|
6322
6323
|
}
|
6323
6324
|
|
6324
6325
|
});
|
@@ -6361,10 +6362,10 @@ SirTrevor.Blocks.SolrDocumentsFeatures = (function(){
|
|
6361
6362
|
var clickHandler = function (e) {
|
6362
6363
|
var href;
|
6363
6364
|
var $this = $(this);
|
6364
|
-
var $target = $($this.attr('data-
|
6365
|
+
var $target = $($this.attr('data-bs-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')); // strip for ie7
|
6365
6366
|
if (!$target.hasClass('carousel')) return
|
6366
6367
|
var options = $.extend({}, $target.data(), $this.data());
|
6367
|
-
var slideIndex
|
6368
|
+
var slideIndex =$this.attr('data-bs-slide-to');
|
6368
6369
|
if (slideIndex) options.interval = false;
|
6369
6370
|
|
6370
6371
|
$.fn.carousel.call($target, options);
|
@@ -6377,8 +6378,7 @@ SirTrevor.Blocks.SolrDocumentsFeatures = (function(){
|
|
6377
6378
|
};
|
6378
6379
|
|
6379
6380
|
$(this.inner).find('.carousel')
|
6380
|
-
.on('click.bs.carousel.data-api', '[data-
|
6381
|
-
.on('click.bs.carousel.data-api', '[data-slide-to], [data-bs-slide-to]', clickHandler);
|
6381
|
+
.on('click.bs.carousel.data-api', '[data-bs-slide-to]', clickHandler);
|
6382
6382
|
}
|
6383
6383
|
|
6384
6384
|
});
|
@@ -6481,24 +6481,24 @@ SirTrevor.Blocks.UploadedItems = (function(){
|
|
6481
6481
|
<div class="checkbox">
|
6482
6482
|
<input name="item[${index}][display]" type="hidden" value="false" />
|
6483
6483
|
<input name="item[${index}][display]" id="${this.formId(this.display_checkbox + '_' + dataId)}" type="checkbox" ${checked} class="item-grid-checkbox" value="true" />
|
6484
|
-
<label class="
|
6484
|
+
<label class="visually-hidden" for="${this.formId(this.display_checkbox + '_' + dataId)}">${i18n.t("blocks:resources:panel:display")}</label>
|
6485
6485
|
</div>
|
6486
6486
|
<div class="pic">
|
6487
6487
|
<img class="img-thumbnail" src="${dataUrl}" />
|
6488
6488
|
</div>
|
6489
6489
|
<div class="main form-horizontal">
|
6490
6490
|
<div class="title card-title">${dataTitle}</div>
|
6491
|
-
<div class="field row
|
6491
|
+
<div class="field row me-3">
|
6492
6492
|
<label for="${this.formId('caption_' + dataId)}" class="col-form-label col-md-3">${i18n.t("blocks:uploaded_items:caption")}</label>
|
6493
6493
|
<input type="text" class="form-control col" id="${this.formId('caption_' + dataId)}" name="item[${index}][caption]" data-field="caption"/>
|
6494
6494
|
</div>
|
6495
|
-
<div class="field row
|
6495
|
+
<div class="field row me-3">
|
6496
6496
|
<label for="${this.formId('link_' + dataId)}" class="col-form-label col-md-3">${i18n.t("blocks:uploaded_items:link")}</label>
|
6497
6497
|
<input type="text" class="form-control col" id="${this.formId('link_' + dataId)}" name="item[${index}][link]" data-field="link"/>
|
6498
6498
|
</div>
|
6499
6499
|
${this._altTextFieldsHTML(index, data)}
|
6500
6500
|
</div>
|
6501
|
-
<div class="remove float-
|
6501
|
+
<div class="remove float-end">
|
6502
6502
|
<a data-item-grid-panel-remove="true" href="#">${i18n.t("blocks:resources:panel:remove")}</a>
|
6503
6503
|
</div>
|
6504
6504
|
</div>
|
@@ -6548,8 +6548,8 @@ SirTrevor.Blocks.UploadedItems = (function(){
|
|
6548
6548
|
altTextHTML: function(index, data) {
|
6549
6549
|
const { isDecorative, altText, altTextBackup, placeholderAttr, disabledAttr } = this._altTextData(data);
|
6550
6550
|
return `
|
6551
|
-
<div class="field row
|
6552
|
-
<div class="col-lg-3 ps-md-2
|
6551
|
+
<div class="field row me-3">
|
6552
|
+
<div class="col-lg-3 ps-md-2">
|
6553
6553
|
<label class="col-form-label text-nowrap pb-0 pt-1 justify-content-md-start justify-content-lg-end d-flex" for="${this.formId(this.alt_text_textarea + '_' + data.id)}">${i18n.t("blocks:resources:alt_text:alternative_text")}</label>
|
6554
6554
|
<div class="form-check d-flex justify-content-md-start justify-content-lg-end">
|
6555
6555
|
<input class="form-check-input" type="checkbox"
|
@@ -7067,9 +7067,9 @@ class TagSelectorController extends Controller {
|
|
7067
7067
|
type="button"
|
7068
7068
|
data-action="${this.identifier}#deselect"
|
7069
7069
|
data-tag="${tag}"
|
7070
|
-
class="btn-close close ms-1
|
7070
|
+
class="btn-close close ms-1"
|
7071
7071
|
aria-label="${this.translationsValue.remove} ${tag}"
|
7072
|
-
|
7072
|
+
></button>
|
7073
7073
|
</span>
|
7074
7074
|
</li>
|
7075
7075
|
`
|