Added meta title to pages
This commit is contained in:
@@ -21,9 +21,11 @@ class Controller_Reseller_Service extends Controller_Service {
|
||||
* Show a list of services
|
||||
*/
|
||||
public function action_list() {
|
||||
$this->meta->title = 'Customer Services';
|
||||
|
||||
Block::factory()
|
||||
->title('Customer Services')
|
||||
->title_icon('icon-th-list')
|
||||
->title_icon('fa fa-list')
|
||||
->body(Table::factory()
|
||||
->jssort('services')
|
||||
->data(ORM::factory('Service')->where_authorised($this->ao)->find_all())
|
||||
|
@@ -37,6 +37,8 @@ class Controller_User_Service extends Controller_Service {
|
||||
* Show a list of services
|
||||
*/
|
||||
public function action_list() {
|
||||
$this->meta->title = 'Service List';
|
||||
|
||||
Block::factory()
|
||||
->title(sprintf('Services for Account: %s',$this->ao->accnum()))
|
||||
->title_icon('icon-th-list')
|
||||
@@ -64,6 +66,8 @@ class Controller_User_Service extends Controller_Service {
|
||||
if (! $so->loaded() OR ! Auth::instance()->authorised($so->account))
|
||||
throw HTTP_Exception::factory(403,'Service either doesnt exist, or you are not authorised to see it');
|
||||
|
||||
$this->meta->title = 'Service: '.$so->name();
|
||||
|
||||
$output .= View::factory('service/user/view')
|
||||
->set('o',$so);
|
||||
|
||||
|
Reference in New Issue
Block a user