Commit 51a54524 authored by Jean Rabreau's avatar Jean Rabreau
Browse files

item creator displayed as submitter #277

parent 1050d59c
Pipeline #60742 passed with stages
in 6 minutes and 12 seconds
......@@ -235,7 +235,7 @@ export const en_US = {
copyOf: "Copy of",
count: "No item | 1 item | {count} items",
create: "Add item",
createdBy: "Created by:",
submitted: "Submitted by:",
description: "Presentation",
designate: "this item",
destroy: "Delete item",
......
......@@ -242,7 +242,7 @@ export const fr_FR = {
copyOf: "Copie de",
count: "Aucun élément | 1 élément | {count} éléments",
create: "Nouvel élément",
createdBy: "Créé par :",
submitted: "Déposé par :",
description: "Présentation",
designate: "cet élément",
destroy: "Supprimer l'élément",
......
......@@ -92,7 +92,7 @@ export default {
title: this.item.title,
thumbnail: this.item.thumbnails.m,
subtitles: [
`${this.$t('item.createdBy')} ${this.item.creator.name}`,
`${this.$t('item.submitted')} ${this.item.creator.name}`,
{ label: this.$t('set.label'), value: this.item.set.title, to: this.setPath },
this.visibility,
],
......
......@@ -131,7 +131,7 @@ export default {
thumbnail: this.currentItem.thumbnails.m,
title: this.currentItem.title,
subtitles: [
`${this.$t('item.createdBy')} ${this.currentItem.creator.name}`,
`${this.$t('item.submitted')} ${this.currentItem.creator.name}`,
...this.from === 'set'
? [{
value: this.embed ? this.$t('item.backToSet') : this.currentItem.set.title,
......
......@@ -10,7 +10,7 @@
prepend-inner-icon="mdi-magnify"
@change="onSearch"
/>
<div
<div
class="d-flex flex-column"
>
<div
......@@ -311,7 +311,7 @@ export default {
];
} else if(mode === 'item') {
subtitles = [
`${that.$t('item.createdBy')} ${result.creator.name}`,
`${that.$t('item.submitted')} ${result.creator.name}`,
`${that.$t('item.fields.resourceTypeGeneral.label')} : ${result.metadata.resourceTypeGeneral}`,
`${that.$t('item.fields.resourceType.label')} : ${result.metadata.resourceType}`,
];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment