+ id="bulk-actions-dropdown">
@@ -112,7 +112,8 @@
+ class="column-default-width actions-cell"
+ :label="$i18n.get('label_actions')">
this.arrayViewPath.splice(i, 1, itemTitle))
.catch((error) => this.$console.error(error));
break;
- case 'categories':
+ case 'taxonomies':
this.fetchCategoryName(this.arrayRealPath[i])
.then(categoryName => this.arrayViewPath.splice(i, 1, categoryName))
.catch((error) => this.$console.error(error));
diff --git a/src/admin/components/navigation/tainacan-title.vue b/src/admin/components/navigation/tainacan-title.vue
index a4e9251c3..4f4c0e34e 100644
--- a/src/admin/components/navigation/tainacan-title.vue
+++ b/src/admin/components/navigation/tainacan-title.vue
@@ -87,7 +87,7 @@ export default {
.then(itemName => { this.arrayViewPath.splice(i, 1, itemName); this.entityName = itemName; })
.catch((error) => this.$console.error(error));
break;
- case 'categories':
+ case 'taxonomies':
this.fetchCategoryName(this.arrayRealPath[i])
.then(categoryName => this.arrayViewPath.splice(i, 1, categoryName))
.catch((error) => this.$console.error(error));
diff --git a/src/admin/components/search/search-control.vue b/src/admin/components/search/search-control.vue
index 9e13b7064..d4d0ec468 100644
--- a/src/admin/components/search/search-control.vue
+++ b/src/admin/components/search/search-control.vue
@@ -19,9 +19,12 @@
{{ $i18n.get('add_one_item') }}
- {{ $i18n.get('add_items_bulk') + ' (Not ready)' }}
+
+ {{ $i18n.get('add_items_bulk') + ' (Not ready)' }}
+
+
+ {{ $i18n.get('add_items_external_source') + ' (Not ready)' }}
- {{ $i18n.get('add_items_external_source') + ' (Not ready)' }} {{ $i18n.get() }}
diff --git a/src/admin/js/router.js b/src/admin/js/router.js
index 82f8c8bdf..52242f5fc 100644
--- a/src/admin/js/router.js
+++ b/src/admin/js/router.js
@@ -57,10 +57,10 @@ const routes = [
{ path: '/fields', name: 'FieldsPage', component: FieldsPage, meta: {title: i18nGet('title_repository_fields_page'), icon: 'format-list-checks'} },
- { path: '/categories', name: 'CategoriesPage', component: CategoriesPage, meta: {title: i18nGet('title_categories_page'), icon: 'shape'} },
- { path: '/categories/new', name: 'CategoryCreationForm', component: CategoryEditionForm, meta: {title: i18nGet('title_create_category_page'), icon: 'shape'} },
- { path: '/categories/:categoryId/edit', name: 'CategoryEditionForm', component: CategoryEditionForm, meta: {title: i18nGet('title_category_edition_page'), icon: 'shape'} },
- { path: '/categories/:categoryId', name: 'CategoryPage', component: CategoryPage, meta: {title: i18nGet('title_category_page'), icon: 'shape'} },
+ { path: '/taxonomies', name: 'CategoriesPage', component: CategoriesPage, meta: {title: i18nGet('title_categories_page'), icon: 'shape'} },
+ { path: '/taxonomies/new', name: 'CategoryCreationForm', component: CategoryEditionForm, meta: {title: i18nGet('title_create_category_page'), icon: 'shape'} },
+ { path: '/taxonomies/:categoryId/edit', name: 'CategoryEditionForm', component: CategoryEditionForm, meta: {title: i18nGet('title_category_edition_page'), icon: 'shape'} },
+ { path: '/taxonomies/:categoryId', name: 'CategoryPage', component: CategoryPage, meta: {title: i18nGet('title_category_page'), icon: 'shape'} },
{ path: '/events', name: 'EventsPage', component: EventsPage, meta: {title: i18nGet('title_repository_events_page'), icon: 'calendar'} },
{ path: '/events/:eventId', name: 'EventPage', component: EventPage, meta: {title: i18nGet('title_event_page'), icon: 'calendar'} },
diff --git a/src/admin/js/utilities.js b/src/admin/js/utilities.js
index 9536e1a3b..712361a59 100644
--- a/src/admin/js/utilities.js
+++ b/src/admin/js/utilities.js
@@ -175,7 +175,7 @@ RouterHelperPlugin.install = function (Vue, options = {}) {
return '/items/?' + qs.stringify(query);
},
getCategoriesPath(query) {
- return '/categories/?' + qs.stringify(query);
+ return '/taxonomies/?' + qs.stringify(query);
},
getCategoryTermsPath(categoryId, query) {
return '/categoryId/' + categoryId + 'terms/?' + qs.stringify(query);
@@ -200,10 +200,10 @@ RouterHelperPlugin.install = function (Vue, options = {}) {
return '/filters/' + id;
},
getCategoryPath(id) {
- return '/categories/' + id;
+ return '/taxonomies/' + id;
},
getTermPath(categoryId, termId) {
- return '/categories/' + categoryId + '/terms/' + termId;
+ return '/taxonomies/' + categoryId + '/terms/' + termId;
},
getEventPath(id) {
return '/events/' + id;
@@ -228,10 +228,10 @@ RouterHelperPlugin.install = function (Vue, options = {}) {
return '/filters/new';
},
getNewCategoryPath() {
- return '/categories/new';
+ return '/taxonomies/new';
},
getNewTermPath() {
- return '/categories/' + categoryId + '/terms/new';
+ return '/taxonomies/' + categoryId + '/terms/new';
},
getNewEventPath() {
return '/events/new';
@@ -247,10 +247,10 @@ RouterHelperPlugin.install = function (Vue, options = {}) {
return '/filters/' + id + '/edit';
},
getCategoryEditPath(id) {
- return '/categories/' + id + '/edit';
+ return '/taxonomies/' + id + '/edit';
},
getTermEditPath(categoryId, termId) {
- return '/categories/' + categoryId + '/terms/' + termId + '/edit';
+ return '/taxonomies/' + categoryId + '/terms/' + termId + '/edit';
},
getEventEditPath(id) {
return '/events/' + id + '/edit';
diff --git a/src/admin/pages/lists/categories-page.vue b/src/admin/pages/lists/categories-page.vue
index e264da49f..78c42b8e3 100644
--- a/src/admin/pages/lists/categories-page.vue
+++ b/src/admin/pages/lists/categories-page.vue
@@ -152,6 +152,7 @@
height: $subheader-height;
margin-left: -$page-side-padding;
margin-right: -$page-side-padding;
+ margin-top: -$page-top-padding;
padding-top: $page-small-top-padding;
padding-left: $page-side-padding;
padding-right: $page-side-padding;
diff --git a/src/admin/pages/lists/collections-page.vue b/src/admin/pages/lists/collections-page.vue
index 1f98dfd55..b33940856 100644
--- a/src/admin/pages/lists/collections-page.vue
+++ b/src/admin/pages/lists/collections-page.vue
@@ -5,13 +5,28 @@
class="sub-header"
v-if="totalCollections > 0">
|