Added meta title to pages
This commit is contained in:
@@ -18,9 +18,11 @@ class Controller_Reseller_Email extends Controller_Email {
|
||||
* Show a list of emails
|
||||
*/
|
||||
public function action_list() {
|
||||
$this->meta->title = 'Emails Sent';
|
||||
|
||||
Block::factory()
|
||||
->title(_('System Emails Sent'))
|
||||
->title_icon('icon-th')
|
||||
->title(_('Emails Sent'))
|
||||
->title_icon('fa fa-envelope')
|
||||
->body(Table::factory()
|
||||
->page_items(25)
|
||||
->data(ORM::factory('Email_Log')->where_authorised($this->ao)->find_all())
|
||||
|
@@ -19,6 +19,8 @@ class Controller_User_Email extends Controller_Email {
|
||||
* Show a list of emails
|
||||
*/
|
||||
public function action_list() {
|
||||
$this->meta->title = 'Email List';
|
||||
|
||||
$this->template->content = View::factory('email/user/list');
|
||||
}
|
||||
|
||||
@@ -30,6 +32,8 @@ class Controller_User_Email extends Controller_Email {
|
||||
if (! $elo->loaded() OR ! Auth::instance()->authorised($elo->account))
|
||||
throw HTTP_Exception::factory(403,'Service either doesnt exist, or you are not authorised to see it');
|
||||
|
||||
$this->meta->title = 'Email: '.$elo->name();
|
||||
|
||||
$output .= View::factory('email/user/view')
|
||||
->set('elo',$elo);
|
||||
|
||||
|
Reference in New Issue
Block a user