mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Translate datetime object with icu: split date and time
Translate datetime within icu format
This commit is contained in:
parent
cc8214d52c
commit
ce781a5b58
@ -387,6 +387,7 @@ class WorkflowController extends AbstractController
|
||||
'notice',
|
||||
$this->translator->trans('workflow.signature_zone.already_signed_alert')
|
||||
);
|
||||
|
||||
return $this->redirectToRoute('chill_main_workflow_show', ['id' => $signature->getStep()->getEntityWorkflow()->getId()]);
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div class="col-sm-12 col-md-4">
|
||||
<ul class="record_actions">
|
||||
{% if s.isSigned %}
|
||||
<p>{{ 'workflow.signature_zone.has_signed_statement'|trans( { '%datetime%' : s.stateDate|date('j M Y à H:i:s') } ) }}</p>
|
||||
<p>{{ 'workflow.signature_zone.has_signed_statement'|trans({ 'datetime' : s.stateDate }) }}</p>
|
||||
{% else %}
|
||||
<li>
|
||||
<a class="btn btn-misc" href="{{ chill_path_add_return_path('chill_main_workflow_signature_metadata', { 'signature_id': s.id}) }}"><i class="fa fa-pencil-square-o"></i> {{ 'workflow.signature_zone.button_sign'|trans }}</a>
|
||||
|
@ -45,6 +45,9 @@ workflow:
|
||||
few {# workflows}
|
||||
other {# workflows}
|
||||
}
|
||||
signature_zone:
|
||||
has_signed_statement: 'A signé le {datetime, date, short} à {datetime, time, short}'
|
||||
|
||||
|
||||
duration:
|
||||
minute: >-
|
||||
|
@ -531,7 +531,6 @@ workflow:
|
||||
signature_zone:
|
||||
title: Appliquer les signatures électroniques
|
||||
button_sign: Signer
|
||||
has_signed_statement: 'À signé le %datetime%'
|
||||
metadata:
|
||||
sign_by: 'Signature pour %name%'
|
||||
docType: Type de document
|
||||
|
Loading…
x
Reference in New Issue
Block a user