diff --git a/frontend/src/components/Gallery/AppBar/Collection/Base.vue b/frontend/src/components/Gallery/AppBar/Collection/Base.vue index 7ce6cf944..84e953f5b 100644 --- a/frontend/src/components/Gallery/AppBar/Collection/Base.vue +++ b/frontend/src/components/Gallery/AppBar/Collection/Base.vue @@ -1,6 +1,7 @@ + + + + + + + + + + + + + mdi-pencil + + mdi-close + mdi-check + + + + + + + + + + + + {{ + currentSmartCollection.name + }} + + + {{ + currentSmartCollection.description + }} + + {{ + currentSmartCollection.is_public ? "mdi-lock-open" : "mdi-lock" + }}{{ + currentSmartCollection.is_public + ? t("collection.public") + : t("collection.private") + }} + + + + + + + + + + + + + + + {{ field.label }}{{ + currentSmartCollection[ + field.key as keyof typeof currentSmartCollection + ]?.toString() + ? currentSmartCollection[ + field.key as keyof typeof currentSmartCollection + ] + : "N/A" + }} + + + + + + + + + + + + mdi-delete + {{ t("collection.delete-collection") }} + + + + + + + + + diff --git a/frontend/src/components/Home/Collections.vue b/frontend/src/components/Home/Collections.vue index 9b3152c78..54956cc3e 100644 --- a/frontend/src/components/Home/Collections.vue +++ b/frontend/src/components/Home/Collections.vue @@ -4,7 +4,6 @@ import RSection from "@/components/common/RSection.vue"; import { type CollectionType } from "@/stores/collections"; import { views } from "@/utils"; import { isNull } from "lodash"; -import { useI18n } from "vue-i18n"; import { onBeforeUnmount, onMounted, ref } from "vue"; const props = defineProps<{ diff --git a/frontend/src/components/common/Collection/Dialog/DeleteSmartCollection.vue b/frontend/src/components/common/Collection/Dialog/DeleteSmartCollection.vue index d748c6fb4..2e4ba5c10 100644 --- a/frontend/src/components/common/Collection/Dialog/DeleteSmartCollection.vue +++ b/frontend/src/components/common/Collection/Dialog/DeleteSmartCollection.vue @@ -87,11 +87,6 @@ function closeDialog() { t("collection.removing-smart-collection-2") }} - - - {{ t("collection.smart-collection-delete-warning") }} - - diff --git a/frontend/src/locales/en_GB/collection.json b/frontend/src/locales/en_GB/collection.json index aea47a2c3..ed0643753 100644 --- a/frontend/src/locales/en_GB/collection.json +++ b/frontend/src/locales/en_GB/collection.json @@ -12,5 +12,7 @@ "public-desc": "Pubilc (visible to everyone)", "removing-collection-1": "Removing collection", "removing-collection-2": "from RomM. Do you confirm?", - "search-collection": "Search collection" + "search-collection": "Search collection", + "removing-smart-collection-1": "Removing smart collection", + "removing-smart-collection-2": "from RomM. Do you confirm?" }