{
this.isLoadingFilters = false;
});
+ },
+ mounted() {
+ if (!this.isRepositoryLevel) {
+ document.getElementById('collection-page-container').addEventListener('scroll', ($event) => {
+ this.$emit('onShrinkHeader', ($event.originalTarget.scrollTop > 53));
+ });
+ }
}
}
diff --git a/src/admin/components/lists/items-list.vue b/src/admin/components/lists/items-list.vue
index 51e053621..f78e12966 100644
--- a/src/admin/components/lists/items-list.vue
+++ b/src/admin/components/lists/items-list.vue
@@ -16,11 +16,11 @@
position="is-bottom-left"
v-if="items.length > 0 && items[0].current_user_can_edit"
:disabled="!isSelectingItems"
- id="mass-actions-dropdown">
+ id="bulk-actions-dropdown">
@@ -50,8 +50,14 @@
{{ column.name }}
|
@@ -84,42 +90,59 @@
v-for="(column, index) in tableFields"
v-if="column.display"
:label="column.name"
- :aria-label="column.field != 'row_thumbnail' &&
- column.field != 'row_actions' &&
- column.field != 'row_creation' ? column.name + '' + item.metadata[column.slug].value_as_string : ''"
+ :aria-label="(column.field != 'row_thumbnail' && column.field != 'row_creation' && column.field != 'row_author')
+ ? column.name + '' + (item.metadata ? item.metadata[column.slug].value_as_string : '') : ''"
class="column-default-width"
:class="{
- 'thumbnail-cell': column.field == 'row_thumbnail',
- 'table-creation': column.field == 'row_creation'}"
+ 'thumbnail-cell': column.field == 'row_thumbnail',
+ 'column-main-content' : column.field_type_object != undefined ? (column.field_type_object.related_mapped_prop == 'title') : false,
+ 'column-needed-width column-align-right' : column.field_type_object != undefined ? (column.field_type_object.className == 'Tainacan\\Field_Types\\Numeric') : false,
+ 'column-small-width' : column.field_type_object != undefined ? (column.field_type_object.className == 'Tainacan\\Field_Types\\Date' || column.field_type_object.className == 'Tainacan\\Field_Types\\Numeric') : false,
+ 'column-medium-width' : column.field_type_object != undefined ? (column.field_type_object.className == 'Tainacan\\Field_Types\\Selectbox' || column.field_type_object.className == 'Tainacan\\Field_Types\\Category' || column.field_type_object.className == 'Tainacan\\Field_Types\\Compound') : false,
+ 'column-large-width' : column.field_type_object != undefined ? (column.field_type_object.className == 'Tainacan\\Field_Types\\Textarea') : false,
+ }"
@click="goToItemPage(item)">
- -->
+
+ :src="item[column.slug].thumb">
-
+
+ {{ item[column.slug] }}
+
+
+ v-if="!isOnTheme && item.current_user_can_edit"
+ class="actions-cell"
+ :label="$i18n.get('label_actions')">
-
@@ -144,6 +167,7 @@
+
+
+
diff --git a/src/admin/components/other/event/diff-exhibition/event-split.vue b/src/admin/components/other/event/diff-exhibition/event-split.vue
index 735798d23..8cf7ab37d 100644
--- a/src/admin/components/other/event/diff-exhibition/event-split.vue
+++ b/src/admin/components/other/event/diff-exhibition/event-split.vue
@@ -5,7 +5,7 @@
- {{ this.$i18n.get('info_logs_before') }}
+ {{ this.$i18n.get('info_logs_before') }}
- {{ this.$i18n.get('info_logs_after') }}
+ {{ this.$i18n.get('info_logs_after') }}
@@ -186,4 +186,11 @@
.content {
overflow: auto;
}
+
+ .event-titles {
+ font-size: 20px;
+ font-weight: 500;
+ color: #01295c;
+ display: inline-block;
+ }
\ No newline at end of file
diff --git a/src/admin/components/other/event/diff-exhibition/event-unified.vue b/src/admin/components/other/event/diff-exhibition/event-unified.vue
index 974496eb5..ad3c6458c 100644
--- a/src/admin/components/other/event/diff-exhibition/event-unified.vue
+++ b/src/admin/components/other/event/diff-exhibition/event-unified.vue
@@ -6,7 +6,7 @@
- {{ this.$i18n.get('info_changes') }}
+ {{ this.$i18n.get('info_changes') }}
\ No newline at end of file
diff --git a/src/admin/components/other/file-item.vue b/src/admin/components/other/file-item.vue
new file mode 100644
index 000000000..9f45569f6
--- /dev/null
+++ b/src/admin/components/other/file-item.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+ {{ file.title.rendered }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/admin/components/search/search-control.vue b/src/admin/components/search/search-control.vue
index 9e13b7064..1990b1caf 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() }}
@@ -39,9 +42,9 @@
class="control"
custom>
+ @input="onChangeDisplayedField($event, index)"
+ :value="column.display"
+ :native-value="column.display">
{{ column.name }}
@@ -55,12 +58,13 @@
|