diff --git a/src/admin/components/advanced-search/advanced-search.vue b/src/admin/components/advanced-search/advanced-search.vue index 3cf30b088..9e1c8dabf 100644 --- a/src/admin/components/advanced-search/advanced-search.vue +++ b/src/admin/components/advanced-search/advanced-search.vue @@ -714,7 +714,6 @@ .advanced-search-header-dropdown { height: 27px !important; - padding-bottom: 2rem; a, .has-text-secondary { color: $blue4 !important; diff --git a/src/admin/components/edition/collection-edition-form.vue b/src/admin/components/edition/collection-edition-form.vue index 5fc780135..69d33385f 100644 --- a/src/admin/components/edition/collection-edition-form.vue +++ b/src/admin/components/edition/collection-edition-form.vue @@ -46,6 +46,7 @@ @@ -102,6 +102,9 @@ +
+            {{ exporterSession }}
+        
@@ -174,11 +177,12 @@ formIsValid(){ return ( this.selectedCollection && + ((!this.exporterSession.accept_no_mapping && this.selectedMapping) || + this.exporterSession.accept_no_mapping) && !this.formErrorMessage ); }, verifyError(response){ - console.log(response); if(response.constructor.name === 'Object' && (response.data && response.data.status && response.data.status.toString().split('')[0] != 2) || response.error_message) { diff --git a/src/admin/components/edition/item-edition-form.vue b/src/admin/components/edition/item-edition-form.vue index aaf4ba043..f9c25da4e 100644 --- a/src/admin/components/edition/item-edition-form.vue +++ b/src/admin/components/edition/item-edition-form.vue @@ -251,6 +251,7 @@ diff --git a/src/admin/components/other/activity/activity-details-modal.vue b/src/admin/components/other/activity/activity-details-modal.vue index 968478518..a39eb5fe0 100644 --- a/src/admin/components/other/activity/activity-details-modal.vue +++ b/src/admin/components/other/activity/activity-details-modal.vue @@ -47,30 +47,17 @@
-
@@ -170,29 +157,16 @@ class="tainacan-attachments-in-modal" v-if="diff.new.length">
@@ -306,13 +280,13 @@ - + -->
@@ -321,6 +295,7 @@ - - - diff --git a/src/admin/pages/singles/item-page.vue b/src/admin/pages/singles/item-page.vue index d6623462a..1d934096a 100644 --- a/src/admin/pages/singles/item-page.vue +++ b/src/admin/pages/singles/item-page.vue @@ -73,6 +73,7 @@


{{ $i18n.get('info_no_attachments_on_item_yet') }}

diff --git a/src/admin/scss/_modals.scss b/src/admin/scss/_modals.scss index 6b128bee2..ca3afda9f 100644 --- a/src/admin/scss/_modals.scss +++ b/src/admin/scss/_modals.scss @@ -13,7 +13,7 @@ h1, h2 { font-size: 1.25rem; font-weight: normal; - color: $blue5; + color: $gray5; display: inline-block; width: 90%; margin-right: auto; diff --git a/src/admin/tainacan-admin-i18n.php b/src/admin/tainacan-admin-i18n.php index b17dfcf2d..894ca1b1a 100644 --- a/src/admin/tainacan-admin-i18n.php +++ b/src/admin/tainacan-admin-i18n.php @@ -468,7 +468,6 @@ return apply_filters( 'tainacan-admin-i18n', [ 'info_create_filters' => __( 'Click or Drag and Drop Metadata here for creating a new Filter.', 'tainacan' ), 'info_create_metadata' => __( 'Click or Drag and Drop Metadata Types here for creating a new Metadata.', 'tainacan' ), 'info_choose_your_metadata' => __( 'Choose your metadata.', 'tainacan' ), - 'info_available_importers_helper' => __( 'The available importer type will affect the file or link that will provide your data besides deciding wich options are available to the importer.', 'tainacan' ), 'info_target_collection_helper' => __( 'The collection where imported item will be added.', 'tainacan' ), 'info_source_file_upload' => __( 'The file containing the data to be imported.', 'tainacan' ), 'info_metadata_mapping_helper' => __( 'Map each file metadata with the corresponding one in selected collection.', 'tainacan' ), @@ -513,7 +512,6 @@ return apply_filters( 'tainacan-admin-i18n', [ 'info_leaving_bulk_edition' => __( 'You are leaving the bulk edition now.', 'tainacan' ), 'info_current_view_mode_metadata_not_allowed' => __( 'Current view mode does not allow displayed metadata selection.', 'tainacan' ), 'info_cant_select_metadata_without_items' => __( 'Can not select displayed metadata without items on list.', 'tainacan' ), - 'info_available_exporters_helper' => __( '?', 'tainacan' ), 'info_empty' => __( 'empty', 'tainacan' ), 'info_url_copied' => __( 'URL link copied', 'tainacan' ), 'info_other_item_listing_options' => __('Other items listing options: ', 'tainacan'), diff --git a/src/gutenberg-blocks/class-tainacan-gutenberg-block.php b/src/gutenberg-blocks/class-tainacan-gutenberg-block.php index 795e42b1a..7f62e262d 100644 --- a/src/gutenberg-blocks/class-tainacan-gutenberg-block.php +++ b/src/gutenberg-blocks/class-tainacan-gutenberg-block.php @@ -73,10 +73,12 @@ class GutenbergBlock { array('wp-edit-blocks') ); - register_block_type('tainacan/items-grid', array( - 'editor_script' => 'items-grid', - 'style' => 'items-grid' - )); + if(function_exists('register_block_type')) { + register_block_type( 'tainacan/items-grid', array( + 'editor_script' => 'items-grid', + 'style' => 'items-grid' + ) ); + } } public function register_tainacan_collections_carousel(){ @@ -94,10 +96,12 @@ class GutenbergBlock { array('wp-edit-blocks') ); - register_block_type('tainacan/collections-carousel', array( - 'editor_script' => 'collections-carousel', - 'style' => 'collections-carousel' - )); + if(function_exists('register_block_type')) { + register_block_type( 'tainacan/collections-carousel', array( + 'editor_script' => 'collections-carousel', + 'style' => 'collections-carousel' + ) ); + } } public function get_plugin_js_settings(){ diff --git a/src/js/store/modules/exporter/actions.js b/src/js/store/modules/exporter/actions.js index 7321c639f..b8ae73fd5 100644 --- a/src/js/store/modules/exporter/actions.js +++ b/src/js/store/modules/exporter/actions.js @@ -28,7 +28,6 @@ export const updateExporterSession = ({commit}, exporterSessionUpdated) => { return tainacan.patch(`/exporters/session/${exporterSessionUpdated.id}`, exporterSessionUpdated.body) .then(response => { - console.info(response.data); commit('setExporterSession'); return response; diff --git a/src/readme.txt b/src/readme.txt index 97e37953a..66bb00e5e 100644 --- a/src/readme.txt +++ b/src/readme.txt @@ -16,8 +16,9 @@ Tainacan is a powerful and flexible repository platform for WordPress. Manage an = Features = -* "Metadata and Filters": Use a metadata standard or choose whatever set of metadata you want to describe the items in your collections. Also, choose which metadata will be used as a filter when browsing the collection -Faceted Search. Browse your collection (and let the public browse it) using a faceted search interface with the filters you have chosen. +* "Metadata and Filters": Use a metadata standard or choose whatever set of metadata you want to describe the items in your collections. Also, choose which metadata will be used as a filter when browsing the collection. + +* "Faceted Search". Browse your collection (and let the public browse it) using a faceted search interface with the filters you have chosen. * "Manage Taxonomies": Manage vocabularies that can be used accross all your collections.