// More breadcrumbs improvements

This commit is contained in:
Damien Metzger
2013-09-30 15:38:06 +02:00
parent 0db013f1c8
commit a6d8ffa293
14 changed files with 47 additions and 26 deletions
@@ -187,6 +187,15 @@ class AdminCustomersControllerCore extends AdminController
}
}
public function initToolbarTitle()
{
parent::initToolbarTitle();
if ($this->display != 'list')
if (($customer = $this->loadObject(true)) && Validate::isLoadedObject($customer))
$this->toolbar_title[] = Tools::htmlentitiesUTF8(Tools::substr($customer->firstname, 0, 1).'. '.$customer->firstname);
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Customers');