From c9d7180f6f278608af7be337954273dbd6d93cee Mon Sep 17 00:00:00 2001 From: Mateus Machado Luna Date: Mon, 17 Dec 2018 16:37:44 -0200 Subject: [PATCH] Hides empty option on mapping selector when exporter does not allow not hiang a mapper. Adds a elay before showing and disappearing tooltips. --- .../edition/exporter-edition-form.vue | 51 +++++++++++-------- .../edition/item-bulk-edition-form.vue | 4 ++ .../components/lists/activities-list.vue | 40 ++++++++++----- .../components/lists/collections-list.vue | 20 ++++++++ src/admin/components/lists/items-list.vue | 44 ++++++++++++++++ src/admin/components/lists/processes-list.vue | 44 ++++++++++++++++ .../components/lists/taxonomies-list.vue | 8 +++ .../tainacan-repository-subheader.vue | 8 +++ src/admin/components/other/exposers-modal.vue | 20 ++++++++ .../components/search/filters-items-list.vue | 8 +++ src/admin/pages/lists/items-page.vue | 8 +++ src/admin/pages/lists/term-items-page.vue | 4 ++ src/admin/tainacan-admin-i18n.php | 3 +- .../filter-types/tainacan-filter-item.vue | 14 +++-- .../metadata-types/tainacan-form-item.vue | 4 ++ src/theme-helper/view-mode-cards.vue | 12 +++++ src/theme-helper/view-mode-records.vue | 8 +++ src/theme-helper/view-mode-slideshow.vue | 12 +++++ src/theme-helper/view-mode-table.vue | 12 +++++ 19 files changed, 283 insertions(+), 41 deletions(-) diff --git a/src/admin/components/edition/exporter-edition-form.vue b/src/admin/components/edition/exporter-edition-form.vue index a8ed8f4df..d0d62b1ab 100644 --- a/src/admin/components/edition/exporter-edition-form.vue +++ b/src/admin/components/edition/exporter-edition-form.vue @@ -15,15 +15,15 @@ class="tainacan-form">
-
+
-
+ style="max-width: 4.6666667%;" + class="column is-gapless"/> +

- - - - - - + + + +
+ v-model="sendEmail" + @input="formErrorMessage = null"> {{ $i18n.get('label_yes') }} @@ -211,7 +214,7 @@ .then(exporterSession => { this.exporterSession = exporterSession ? exporterSession : {}; this.selectedMapping = this.exporterSession.mapping_selected; - + this.isLoading = false; }); @@ -232,4 +235,8 @@ \ No newline at end of file diff --git a/src/admin/components/edition/item-bulk-edition-form.vue b/src/admin/components/edition/item-bulk-edition-form.vue index 94915dc0f..614f9a049 100644 --- a/src/admin/components/edition/item-bulk-edition-form.vue +++ b/src/admin/components/edition/item-bulk-edition-form.vue @@ -115,6 +115,10 @@ class="document-actions">

{{ activity.title }}

- + delay: { + show: 500, + hide: 300, + }, + content: activity.title, + autoHide: false, + placement: 'auto-start' + }"> + {{ activity.title }} +

+

@@ -61,10 +71,14 @@ :aria-label="$i18n.get('label_activity_date') + ': ' + activity.log_date">

diff --git a/src/admin/components/lists/collections-list.vue b/src/admin/components/lists/collections-list.vue index e6541101e..9dfad4b14 100644 --- a/src/admin/components/lists/collections-list.vue +++ b/src/admin/components/lists/collections-list.vue @@ -107,6 +107,10 @@ :aria-label="$i18n.get('label_name') + ': ' + collection.name">

` + $i18n.get('label_description_not_informed') + ``">

` + $i18n.get('label_description_not_informed') + ``, html: true, autoHide: false, @@ -339,6 +351,10 @@

` + $i18n.get('label_value_not_informed') + ``, html: true, autoHide: false, @@ -579,6 +611,10 @@ v-html="(item.title != undefined && item.title != '') ? item.title : `` + $i18n.get('label_value_not_informed') + ``"/>

` + $i18n.get('label_value_not_informed') + ``"/>

` + $i18n.get('label_description_not_informed') + ``">