Added meta title to pages
This commit is contained in:
@@ -20,6 +20,8 @@ class Controller_Reseller_Account extends Controller_Account {
|
||||
* Show a list of accounts
|
||||
*/
|
||||
public function action_list() {
|
||||
$this->meta->title = 'Customer List';
|
||||
|
||||
Block::factory()
|
||||
->title(_('Customer List'))
|
||||
->title_icon('fa fa-list')
|
||||
@@ -54,6 +56,8 @@ class Controller_Reseller_Account extends Controller_Account {
|
||||
if (! $ao->loaded() OR ! $ao->status OR ! Auth::instance()->authorised($ao))
|
||||
throw HTTP_Exception::factory(403,'Account either doesnt exist, or you are not authorised to see it');
|
||||
|
||||
$this->meta->title = 'Customer: '.$ao->name();
|
||||
|
||||
$this->template->content = View::factory('account/reseller/view')->set('o',$ao);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user