From ba0ec11cd7273bcbaf99cdb9e0c20beeb91e6aca Mon Sep 17 00:00:00 2001 From: Malik Imelhaine Date: Tue, 14 Aug 2018 17:14:47 +0200 Subject: [PATCH] Modification message suppression Modification du message affiché sur l'index des documents --- src/Template/Documents/index.ctp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Template/Documents/index.ctp b/src/Template/Documents/index.ctp index 0f33c30..81b7419 100755 --- a/src/Template/Documents/index.ctp +++ b/src/Template/Documents/index.ctp @@ -43,7 +43,7 @@ foreach ($documents as $document) : ?> Html->link(__(''), ['action' => 'edit', $document->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false]) ?> - Form->postLink(__(''), ['action' => 'delete', $document->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $document->id)]) ?> + Form->postLink(__(''), ['action' => 'delete', $document->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer {0} ?', $document->nom)]) ?> Html->link($document->nom, ['action' => 'view', $document->id]) ?> -- libgit2 0.21.2