homepage vue / my workflow: replace "document" by object type

This commit is contained in:
Julien Fastré 2022-02-17 23:12:14 +01:00
parent d4534b56a0
commit fe35a29fb8
3 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@ class AccompanyingCourseDocumentWorkflowHandler implements EntityWorkflowHandler
public function getEntityTitle(EntityWorkflow $entityWorkflow, array $options = []): string
{
return $this->translator->trans('workflow.Document (n°%doc%)', ['%%doc%' => $entityWorkflow->getRelatedEntityId()]);
return $this->translator->trans('workflow.Document (n°%doc%)', ['%doc%' => $entityWorkflow->getRelatedEntityId()]);
}
public function getRelatedEntity(EntityWorkflow $entityWorkflow): ?AccompanyingCourseDocument

View File

@ -4,7 +4,7 @@
<span v-if="noResults" class="chill-no-data-statement">{{ $t('no_data') }}</span>
<tab-table v-else>
<template v-slot:thead>
<th scope="col">{{ $t('Document') }}</th>
<th scope="col">{{ $t('Object_workflow') }}</th>
<th scope="col">{{ $t('Step') }}</th>
<th scope="col">{{ $t('concerned_users') }}</th>
<th scope="col"></th>
@ -85,4 +85,4 @@ span.outdated {
font-weight: bold;
color: var(--bs-warning);
}
</style>
</style>

View File

@ -39,7 +39,7 @@ const appMessages = {
Entity: "Associé à",
Step: "Étape",
concerned_users: "Usagers concernés",
Document: "Document",
Object_workflow: "Objet du workflow",
show_entity: "Voir {entity}",
the_activity: "l'échange",
the_course: "le parcours",
@ -69,4 +69,4 @@ Object.assign(appMessages.fr);
export {
appMessages
};
};