diff --git a/src/css/app.scss b/src/css/app.scss index 357c9ecdb2..ecffd576ca 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -37,6 +37,10 @@ a { .link { color: $color-link; cursor: pointer; + + &--white { + color: white; + } } .tx-color-link { diff --git a/src/pages/Item/Card/ItemSummary.vue b/src/pages/Item/Card/ItemSummary.vue index 1571a903e7..081eb2afb8 100644 --- a/src/pages/Item/Card/ItemSummary.vue +++ b/src/pages/Item/Card/ItemSummary.vue @@ -7,9 +7,7 @@ import CardSummary from 'components/ui/CardSummary.vue'; import VnLv from 'src/components/ui/VnLv.vue'; import ItemDescriptorImage from 'src/pages/Item/Card/ItemDescriptorImage.vue'; import VnUserLink from 'src/components/ui/VnUserLink.vue'; - -import { useRole } from 'src/composables/useRole'; -import { useAcl } from 'src/composables/useAcl'; +import VnTitle from 'src/components/common/VnTitle.vue'; const $props = defineProps({ id: { @@ -22,13 +20,7 @@ const route = useRoute(); const { t } = useI18n(); const entityId = computed(() => $props.id || route.params.id); - -const canEdit = computed(() => useAcl().hasAny('Item', '*', 'WRITE')); - -const isReplenisher = computed(() => useRole().hasAny(['replenisher'])); - - useRole().hasAny(['replenisher'])); data-key="ItemSummary" > - - - + class="header link--white" + icon="open_in_new" + flat + dense + round + /> {{ item.id }} - {{ item.name }} @@ -58,15 +52,10 @@ const isReplenisher = computed(() => useRole().hasAny(['replenisher'])); /> - - {{ t('item.summary.basicData') }} - - + @@ -97,15 +86,10 @@ const isReplenisher = computed(() => useRole().hasAny(['replenisher'])); - - {{ t('item.summary.otherData') }} - - + useRole().hasAny(['replenisher'])); /> - - {{ t('item.summary.tags') }} - - + useRole().hasAny(['replenisher'])); /> - - {{ t('item.summary.description') }} - - - - {{ item.description }} - + + - - {{ t('item.summary.tax') }} - - + useRole().hasAny(['replenisher'])); /> - - {{ t('item.summary.botanical') }} - - + useRole().hasAny(['replenisher'])); /> - - {{ t('item.summary.barcode') }} - - - - {{ barcode.code }} - + + - en: Este artÃculo necesita una foto: Este artÃculo necesita una foto
- {{ item.description }} -
- {{ barcode.code }} -