Skip to content

Commit

Permalink
Update view.html.php
Browse files Browse the repository at this point in the history
  • Loading branch information
marijkestuivenberg committed Oct 12, 2015
1 parent ef11859 commit 82a8dce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function addToolbar()
$checkedOut = !($this->item->checked_out == 0 || $this->item->checked_out == $user->get('id'));
$canDo = $this->canDo;

JToolbarHelper::title(JText::sprintf('COM_MODULES_MANAGER_MODULE', JText::_($this->item->module)), 'cube module');
JToolbarHelper::title($isNew ? JText::sprintf('COM_MODULES_MANAGER_MODULE_NEW', JText::_($this->item->module)) : JText::sprintf('COM_MODULES_MANAGER_MODULE_EDIT', JText::_($this->item->module)), 'cube module');

// For new records, check the create permission.
if ($isNew && $canDo->get('core.create'))
Expand Down

0 comments on commit 82a8dce

Please sign in to comment.