|
@@ -178,9 +178,17 @@ class HelperController
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- $description = sprintf('<a href="%s" target="new">%s</a>', $admin->generateUrl('edit', array('id' => $objectId)), $description);
|
|
|
-
|
|
|
- return new Response($description);
|
|
|
+ $url = $admin->generateUrl('edit', array('id' => $objectId));
|
|
|
+
|
|
|
+ $htmlOutput = $this->twig->render($admin->getTemplate('short_object_description'),
|
|
|
+ array(
|
|
|
+ 'description' => $description,
|
|
|
+ 'object' => $object,
|
|
|
+ 'url' => $url
|
|
|
+ )
|
|
|
+ );
|
|
|
+
|
|
|
+ return new Response($htmlOutput);
|
|
|
}
|
|
|
|
|
|
/**
|