diff --git a/lib/dashboard/Notification.inc.php b/lib/dashboard/Notification.inc.php index fe74793..ddbc630 100644 --- a/lib/dashboard/Notification.inc.php +++ b/lib/dashboard/Notification.inc.php @@ -394,7 +394,7 @@ class KTWorkflowNotification extends KTNotificationHandler { $aInfo['sType'] = 'ktcore/workflow'; $aInfo['dCreationDate'] = getCurrentDateTime(); $aInfo['iUserId'] = $oUser->getId(); - $aInfo['sLabel'] = $oDocument->getName(); + $aInfo['sLabel'] = $oDocument->getFullPath(); $oNotification = KTNotification::createFromArray($aInfo); @@ -402,7 +402,7 @@ class KTWorkflowNotification extends KTNotificationHandler { if ($oUser->getEmailNotification() && (strlen($oUser->getEmail()) > 0)) { $emailContent = $handler->handleNotification($oNotification); - $emailSubject = sprintf(_kt('Workflow Notification: %s'), $oDocument->getName()); + $emailSubject = sprintf(_kt('Notificación sobre el trabajo: %s'), $oDocument->getName()); $oEmail = new EmailAlert($oUser->getEmail(), $emailSubject, $emailContent); $oEmail->send(); } diff --git a/templates/ktcore/workflow/workflow_notification.smarty b/templates/ktcore/workflow/workflow_notification.smarty index b431803..cc7365a 100644 --- a/templates/ktcore/workflow/workflow_notification.smarty +++ b/templates/ktcore/workflow/workflow_notification.smarty @@ -1,14 +1,11 @@ -