@@ -60,9 +60,11 @@ |
||
60 | 60 | { |
61 | 61 | $items = []; |
62 | 62 | |
63 | - foreach ($this->repository->getUserJobs($user->getId(), $limit) as $job) /* @var $job \Jobs\Entity\Job */ |
|
63 | + foreach ($this->repository->getUserJobs($user->getId(), $limit) as $job) { |
|
64 | + /* @var $job \Jobs\Entity\Job */ |
|
64 | 65 | { |
65 | 66 | $title = $job->getTitle() ?: $view->translate('untitled'); |
67 | + } |
|
66 | 68 | $title .= ' ('. $view->dateFormat($job->getDateCreated(), 'short', 'none') . ')'; |
67 | 69 | $url = $view->url('lang/jobs/manage', ['action' => 'edit'], [ |
68 | 70 | 'query' => [ |
@@ -60,9 +60,11 @@ |
||
60 | 60 | { |
61 | 61 | $items = []; |
62 | 62 | |
63 | - foreach ($this->repository->getUserApplications($user->getId(), $limit) as $application) /* @var $application \Applications\Entity\Application */ |
|
63 | + foreach ($this->repository->getUserApplications($user->getId(), $limit) as $application) { |
|
64 | + /* @var $application \Applications\Entity\Application */ |
|
64 | 65 | { |
65 | 66 | $title = $application->getJob()->getTitle(); |
67 | + } |
|
66 | 68 | $title .= ' ('. $view->dateFormat($application->getDateCreated()) . ')'; |
67 | 69 | $url = $view->url('lang/applications/detail', ['id' => $application->getId()]); |
68 | 70 | $items[] = new ListItem($title, $url); |
@@ -65,10 +65,12 @@ |
||
65 | 65 | %s |
66 | 66 | </div>'; |
67 | 67 | |
68 | - foreach ($container as $form) /* @var $form \Zend\Form\Form */ |
|
68 | + foreach ($container as $form) { |
|
69 | + /* @var $form \Zend\Form\Form */ |
|
69 | 70 | { |
70 | 71 | $formsMarkup .= sprintf($formTemplateWrapper, $formContainerHelper->renderElement($form, $layout, $parameter)); |
71 | 72 | } |
73 | + } |
|
72 | 74 | |
73 | 75 | $templateForm = $container->getTemplateForm(); |
74 | 76 | $templateMarkup = sprintf( |